PIC单片机内部模数转换器AD的使用方法
#include#define uchar unsigned char#define uint unsigned int__CONFIG(0x3B31);const uchar table[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d, 0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x...
PIC单片机内部IIC通信接口的使用方法
#include#define uchar unsigned char#define uint unsigned int#define add 0xaa__CONFIG(0x3B31);const uchar ee_data[]={1,2,3,4,5,6};uchar read_data[6];const uchar table[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,...
基于PIC单片机的测试评估板设计