- 博客(2)
- 收藏
- 关注
原创 延时函数
#define __DELAY_H_ void delay_us(unsigned int n); void delay_ms(unsigned int n); void delay_us(unsigned int n) { extern void _nop_(void); register unsigned char i = n, j = (n>>8); _nop_(); _nop_(); _nop_(); if ((--i) | j) {
2020-07-25 23:43:10
598
原创 基于stc单片机的lcd1602源程序
基于stc单片机的lcd1602源程序 #include <STC12C5A60S2.H> #include "uart.h" #include "delay.h" #include "lcd1602.h" xdata uint8 ReceiveBuff[100] = {0}; uint8 FlagFinished = 0; uint8 NUM_LEDStart, NUM_LEDStop, NUM_LEDPositive, NUM_LEDNegative, NUM_
2020-07-25 23:39:51
1402
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅