|
该文档从网上找来的,但是缺了几个头文件。
现补充如下
#ifndef _Lcd_1602_H_
#define _Lcd_1602_H_
extern void Init_Lcd();
extern void LCD_write_str(unsigned char X,unsigned char Y,unsigned char *s);
//extern void LCD_set_xy(uchar x,uchar y )
//extern void LCD_en_write(void)
//extern void LCD_write_char(uchar cd,uchar ab)
//extern void LCD_byte(unsigned char abc)
extern LCD_value(unsigned char x,unsigned char y,float f);
#endif
#ifndef _Time_Delay_H_
#define _Time_Delay_H_
extern void Delay_ms(unsigned int n);
extern void Delay_us(unsigned char n);
#endif
#ifndef _DHT11_H_
#define _DHT11_H_
extern char COM(void);
extern void getDHT11(void);
#endif
|
|