#ifndef DISPLAY_H #define DISPLAY_H void lcd_init(void); void lcd_send(bit RS, unsigned char c) ; void lcd_print(char code *message); void halt(unsigned char number, char code *message); void icm1(unsigned int i); void icm2(unsigned int i); void icm_error(unsigned char number); void set_leds(unsigned char leds); void update_serial_display(void); void set_serial_display(unsigned char display_number, signed int value); signed int get_serial_display(unsigned char display_number); void lcd_print_ulong(unsigned char position, unsigned long value); lcd_print_hms(unsigned char position, unsigned long value); void lcd_print_uchar(unsigned char position, unsigned long value); sbit GATE = 0x95; /* P1.5 Output Module Gate# enable */ #endif