-
STM8--ADC-CHANGE
在许多的单片机应用系统中,都需要A/D转换器,将模拟量转换成数字量。在STM8单片机中,提供的是10位的A/D,通道数随芯片不同而不同,少的有4个通道,多的则有16个通道。
下面的实验程序首先对A/D输入进行采样,然后将采样结果的高8位(丢弃最低的2位),作为延时参数去调用延时子程序,然后再去驱动LED控制信号。因此不同的采样值,决定了LED的闪烁频率。当旋转ST三合一开发板上的电位器时,可以看到LED的闪烁频率发生变化。
(In many microcontroller applications require the A/D converter to convert analog into digital. STM8 microcontroller, providing a 10-bit A/D channel number with the chip, little has four channels, more than 16 channels. The following experimental procedure first sampling A/D input, then the sampling results 8 (drop the lowest 2), as the delay parameter to call the delay subroutine, and then go drive LED control signal. Different sampling values, the LED flashing frequency. When the potentiometer rotation ST triple development board, you can see the LED flashing frequency change.)
- 2013-04-13 11:20:36下载
- 积分:1
-
at30tse75x
AT30TSE75X 带有eeprom温度传感器驱动 (AT30TSE75X driver)
- 2021-04-27 15:28:45下载
- 积分:1
-
FanxingDemo
泛型例题源代码,个人编写,可以提供给初学者参考参考(A generic sample source code, individual writing, can provide reference for beginners reference
)
- 2013-12-03 22:47:35下载
- 积分:1
-
完美实现STM32单总线挂多个DS18B20
说明: stm32控制温度传感器DS18B20的方法(STM32 control method of temperature sensor DS18B20)
- 2020-11-30 18:00:21下载
- 积分:1
-
TimeEngine
时间/日期显示,关机提醒,万年历,关机,重启,注销,开启音乐,并可开机启动。(Time/date display, shut down reminders, calendar, shutdown, restart, write-off, open the music, and start-up.)
- 2009-04-09 09:23:36下载
- 积分:1
-
Exp14_OLED12864EN
0.96寸OLED显示12864英文驱动,可显示2种字体(0.96-inch OLED display 12864 English driver, you can display two kinds of fonts)
- 2014-12-01 12:45:39下载
- 积分:1
-
plank
输入温度(单位为摄氏度),起始波长和终止波长(单位为微米),采用普朗克公式计算得到黑体的辐射能量。(using numerical integration to calculate blackbody radiation based on Plank theory. the input is temperature in degreeC, and start wavelength and end wavelength in um)
- 2021-04-09 10:18:59下载
- 积分:1
-
Digital-Integrated-Circuits-(2e)
数字集成电路——电路系统与设计(第二版)英文版,可编辑。(Digital integrated circuits- circuit system and Design (Second Edition) English, can be edited.)
- 2014-10-10 22:25:05下载
- 积分:1
-
wireless_comunication
基于单片机和无线收发芯片CC1100的无线抄表系统(Based on MCU and wireless transceiver chip CC1100 wireless meter reading system)
- 2013-11-01 16:49:56下载
- 积分:1
-
signalegenerate
这是一个用AD9854做的一个信号产生器。里边有PC主机和产生器通信的固件程序和PC应用程序。(SIGENAL GENERATER)
- 2009-05-26 17:03:17下载
- 积分:1