-
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
-
msp430DS18B20
msp430单片机DS18B20温度程序(Msp430 single chip DS18B20 temperature program)
- 2015-07-23 21:16:17下载
- 积分:1
-
555712
梦幻WAS提取源码程序位图的结构,使用置入汇编代码的方法实现提取梦幻WAS资源。(Fantasy WAS extraction structure of the source program bitmap into assembly code using methods to achieve the dream WAS resource extraction .)
- 2015-09-01 12:56:03下载
- 积分:1
-
FlyMcu(STM32串口下载软件)
stm32 下载器 可以利用串口烧录!方便快捷(stm32 downer this is a good app.)
- 2017-11-23 10:19:06下载
- 积分:1
-
005
该程序是电源控制自动化系统:
主要功能:开机检测ac_ct(模拟信号) 和pfc_ct(模拟信号) 正常时,设置模拟信号参数,打开PFC_ON,继电器打开,正常运行中检测温度,风扇的状态,任何一个出现异常就进入保护状态。(Power supply control system)
- 2013-04-07 11:33:24下载
- 积分:1
-
myassert
51单片机, 加强的assert功能, assert失败时通过串口输出信息, 并占用串口形成一个简易的命令行调试界面, 通过此界面可以查看修改内存内容/调度信息等等(51 single, enhanced functionality assert, assert serial form a simple command-line debugger interface fails through the serial output, and occupied by this interface you can view the memory contents modify/scheduling information, etc.)
- 2016-03-16 09:19:22下载
- 积分:1
-
11
通过PWM定时器延迟一秒,实现一个LED灯的明灭。实验中观察I/O口的值对LED灯的明灭的控制,学习I/O口的输入输出方式和设置,了解PWM的配置方式(Through the PWM timer to delay a second, the realization of a LED lamp at. I/O values for LED lamp light control experiment, learning I/O port input and output method and setting, understanding of PWM configuration methods)
- 2014-04-16 13:54:34下载
- 积分:1
-
Proteushj
单片机 电子锁 六位 密码,可修改密码,复位 C语言 (SCM six electronic lock password, change password, reset the C language)
- 2010-05-09 19:19:18下载
- 积分:1
-
BS83B12A
BS83B12A-3触摸按键实现的空气净化器C源码.触摸部分的配置使用官方提供的汇编源码.(BS83B12A-3 touch buttons to achieve air purifier C source code. Configure the touch part using the official compilation of source code.)
- 2014-11-30 08:17:34下载
- 积分:1
-
DM6446_usb_power
DM6446的USB最底层发包收包代码,不含协议,学习的最好代码!仅仅发送接收数据!(DM6446' s USB lowest bidding closed package code, a protocol, to learn the best code! Just sending and receiving data!)
- 2011-08-09 10:55:09下载
- 积分:1