#include
__CONFIG(0x3F32); //Chip configuration word
#define LCDRS
#define LCDRW
#define LCDE
#define LCDDATA
#define DS18B20
#define TRIS_B20 TRISE0
void LCD1602_INIT(void);
void WRITE_LCD_CMD (char cmd);
void WRITE_LCD_DATA (char data);
void LCD_Display(char *s);
void LCD_Display_location
void LCD1602_BUSY();
void US_delay ( int t);
void itoa10(unsigned char *buf, int i);
int strlen (const char *s);
void DS18B20_INIT();
void WRITE_DS18B20_CMD(char cmd);
float READ_DS18B20 ();
char bank1 DAT_BUFF1[]= "Temperature:";
char Found_DS18B20[]="DS1820 FOUND";
char DS18B20_NOT_Found[]="DS1820 NOT FOUND";
char bank1 DAT_BUFF2[]= "
#define CLRLCD 0X01
#define LCDMOD 0X38
#define ROTATION 0X0F
#define CURMODE 0X06
#define ORG1
#define ORG2
#define SKIPROM 0XCC
#define READSCRACHPAD 0XBE
#define TCONVERT 0X44
#define DS18b20_RESET 10
#define DSRECOVER 1
float temperature;
char bank1 atemperature[10];
void main()
{
}
int strlen(const char * s)
{
}
void LCD_Display(char *s)
{
} void LCD1602_BUSY() { } void LCD_Display_location { } void WRITE_LCD_DATA(char data) { } [page] void WRITE_LCD_CMD(char cmd) { } void LCD1602_INIT(void) { } void DS18B20_INIT() { } void WRITE_DS18B20_CMD(char cmd) { } float READ_DS18B20 () { } void itoa10(unsigned char *buf, int i) { } void US_delay( int i) { }
Previous article:PIC16F877A Routine Program --- PWM
Next article:PIC16F877A Example Program --- LCD1602
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- Innovation is not limited to Meizhi, Welling will appear at the 2024 China Home Appliance Technology Conference
- Innovation is not limited to Meizhi, Welling will appear at the 2024 China Home Appliance Technology Conference
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- PowerBox
- I2C bus controls RDA5807M to achieve high-fidelity reception of FM signals
- Piezoelectric ceramic polarity detection system ET10
- I would like to ask you how to use timequest to analyze the delay time of the delay chain in FPGA.
- [Qinheng Trial] Experience of CH549 capacitive touch function
- RS485 communication issues in MSP430F169
- Raspberry Pi PICO low-resolution thermal imager
- Reversible USB port
- Why does the power consumption of stm32L0 increase after it enters STOP mode again after being woken up by an external interrupt in STOP mode?
- [TI millimeter wave radar evaluation]_4_boost board evaluation encountered problems 2