资源列表
打地鼠20170615 - 副本
- 打地鼠的游戏 用lcd12864显示 4x4的矩阵键盘控制的打地鼠游戏(Mouse game with LCD12864 display 4x4 matrix keyboard to control the game of Whac-a-mole)
高电平脉宽长度
- keil编程,个文件有c语言程序,可逐一打开查看,文件不大,但是作用很大,可以查看(Keil programming, a document c language program, you can open one by one view, the file is not large, but the role is great, you can view)
12864
- 12864液晶程序,基于msp430f5529的oled液晶程序(12864 LCD program, based on the msp430f5529 OLED LCD program)
2016.05.25Discovery
- 通过stm32实现风阀开关控制及开关运行正常与否的反馈(Air valve switch control and switch feedback)
ADS1118(1)
- MSP430驱动高精度的低功耗 16 位模数转换器 adc1118采样(MSP430 drives high precision low power 16 bit analog-to-digital converters for adc1118 sampling)
STC12AD内部转换
- 通过STC12C5A60S2单片机内部AD读取外部电压值,共有8路,本程序用了一路。(STC12C5A60S2 microcontroller through the internal AD read the external voltage value, a total of 8 Road, the program used all the way.)
MPU6050
- 通过51单片机读取MPU6050的加速度和角速度数据并在LCD1602上面显示出来。(Through the 51 microcontroller to read MPU6050 acceleration and angular speed data, and displayed on the LCD1602 above.)
程序
- void main(void) { TMOD=0x01; //设T0为方式1,GATE=1; TH0=0; TL0=0; ET0=1; //允许T0中断 EA=1; //开启总中断 InitLcd1602(); LcdShowStr(0,0,PuZh); while(1) { StartModule(); while(!Echo); //当RX为零时等待
timer+ADC+DMA
- 基于STM32F407的程序,实现了通过DMA方式进行ADC采样,并通过定时器定是触发。程序中使用了ADC3-channel0,1,2;通过定时器2触发。程序已在STM32F407开发板上验证。(Based on the STM32F407 program, to achieve the ADC sampling through the DMA, and through the timer is triggered. ADC3-channel0,1,2 is used in the progra
relay
- 串口通讯232,接受上位机发出的指令来控制一个继电器的开关状态(Serial communication 232, to accept the instructions issued by the host computer to control a relay switch state)
motor2
- 控制一台直流电机正反转,控制单片机的两个I/O口来选择电机的正反转(51 single-chip control a DC motor positive and negative, single-chip two I / O port to select the motor positive and negative)
ad7705程序stm -两通道
- AD7705的stm32的驱动程序,非常好用(AD7705's STM32 driver)
