随笔分类 -  AVR

1602四线驱动
摘要:#include #include #define uchar unsigned char#define LCD_PORT PORTA#define LCD_DDR DDRA#define LCD_PIN PINA#define LCD_DATA ((1>1;/* Cryst... 阅读全文
posted @ 2015-01-08 01:42 ppStudio 阅读(416) 评论(0) 推荐(0)
ADC取样
摘要:#include#include "adcproc.h"#include "utils.h"#include "globdefs.h"#define SKIP_SAMPLES 1//ADC采样时忽略样本数#define BYTE unsigned char#define ADC_MUX_I 0x00... 阅读全文
posted @ 2015-01-08 01:36 ppStudio 阅读(360) 评论(0) 推荐(0)