“CT107D V10 V20 原理图” 的相关文章
CT107D-按键的使用(中断法)
#include <reg52.h> int main() { IE|=0x85; TCON|=0x05; while(1); return 0; } void key_32(void) interrupt&nb...
CT107D DS1302
使用官方的ds1302.h和ds1302.c,下方有核心代码讲解main.c#include<reg52.h> #include<intrins.h> #include<ds1302.h> typedef unsigned char&nb...
CT107D DS18B20
先贴上核心代码unsigned char get_temp(void) { unsigned char TH,TL; init_ds18b20(); Write_DS18B20(0xCC); Write_DS18B20(0x44); De...
CT107D 数码管动态显示
#include<reg52.h> #include<intrins.h> void hdw_init(); void smg_refresh(); void Delay1ms(); unsigned char nu...
CT107D ADC 光敏电阻
#include<iic.h> #include "reg52.h" #include "intrins.h" typedef unsigned char BYTE; typedef&nbs...