搜索资源列表
GPIO_KeyInterrupt
- 按键进入GPIO中断服务函数,并采用延时函数来控制LED的亮灭。开发环境:TKStudio。使用中断函数需在vector_cfg.h中修改对应的中断,例如:#define PIOINT1_IRQ_Handle GPIOIsr0,还需要在vector_table.c中写外部函数定义,例如:extern void GPIOIsr0 (void) -Press the button to enter the GPIO interrupt service function, and use delay
89C51
- header to interface the c51 controller with special delay and otner initializing programs
jiaoduzhuanganqi
- 角度转感器的基本控制方法!部分代码如下: #include"lcd1602.h" #include"delay.h" #include"adxl345.h" void main() { uchar devid delay(500) //上电延时 init() //初始化 DisplayOneChar(0,0, A ) DisplayOneChar(1,0, : ) Init_ADXL345() //初始化AD
7_segment_timer
- #include <16f74.h> #fuses HS,NOWDT,NOPROTECT,NOPUT #use delay(clock=20M) .... Pic micro controller how to using tutorial. About beginner