-
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
-
BMP180
基于STM32F10X的气压传感器(bmp180)程序,串口输出,内含bmp180手册。(Based STM32F10X pressure sensor (bmp180) program, serial output, containing bmp180 manual.)
- 2020-12-15 16:49:14下载
- 积分:1
-
STM32+RC522+充值+扣款+改密码+开锁
说明: STM32+RC522+充值+扣款+改密码+开锁(STM32 + rc522 + recharge + deduction + change password + unlock)
- 2021-03-07 18:59:29下载
- 积分:1
-
8、交通灯
绿灯亮时,准许车辆通行,黄灯闪烁时,已越过停止线的车辆可以继续通行;没有通过的应该减速慢行到停车线前停止并等待,红灯亮时,禁止车辆通行。给行人看的叫人行横道灯,通常指由红、绿(绿为蓝绿)二种颜色灯组成用来指挥交通通行的信号灯,红灯停,绿灯行。(When the green light is on, the vehicle is allowed to pass. When the yellow light is flashing, the vehicles that have crossed the stop line can continue to pass.You should slow down to stop and wait at the stop line. No traffic is allowed when the red light is on.Pedestrian crossing lights for pedestrians, usually denoted by red, green (green, blue, green), two color lamps used to direct traffic signals, stop at red lights and green.)
- 2018-03-20 14:09:14下载
- 积分:1
-
ultrasonic-TCT40-16FS
说明: 关于利用TCT40-16FS进行超声波测距的原理图,实物图,源码,看完之后对超声波测距将不再陌生.(Conducted on the use of ultrasonic ranging TCT40-16FS schematic, physical map, source, after reading will not be a stranger on the ultrasonic ranging.)
- 2011-04-07 11:14:33下载
- 积分:1
-
hinet_radio
hinet internet radio parser program. This is a good example of url parser.
- 2009-07-15 10:21:47下载
- 积分:1
-
LPLD_TSL1401
使用拉普兰德函数库编写的mk60线性ccdtsl1401的spi采集协议 并可配合串口观察(Use the Lapland library written mk60 the linear ccdtsl1401 the the spi acquisition agreement and with the serial observation)
- 2013-04-06 04:17:53下载
- 积分:1
-
AVRembeded_sourecode
AVR 单片机嵌入式开发源程序,对新手入门有很有帮助。(AVR embedded development program, Getting Started with helpful.)
- 2007-05-24 08:36:46下载
- 积分:1
-
ad8370
可以通过stm32控制ad8370的增益(Control the gain of AD8370 with stm32)
- 2020-06-23 02:00:02下载
- 积分:1
-
E931.96
本文档基于 E931.96 运动检测控制器和 LHI968 被动红外探头设计被动红外,采用的板
子为 ZLG APL_PIR V1.00,控制器为 LPC1114,开发环境为 Keil。(This document is designed based on a passive infrared motion detection controller E931.96 and LHI968 passive infrared sensor, using the board as ZLG APL_PIR V1.00, controller LPC1114, development environment for Keil.)
- 2020-10-12 23:27:32下载
- 积分:1