satan
Newbie level 3
Hi there! I am newbie in Microcontroller C programming. Can someone guide me what is the meaning for following code (in LCD.C), because i want to try to edit it to let my LCD works:
struct lcd_pin_map { // This structure is overlayed
BOOLEAN enable; // on to an I/O port to gain
BOOLEAN rs; // access to the LCD pins.
BOOLEAN rw; // The bits are allocated from
BOOLEAN unused; // low order up. ENABLE will
int data : 4; // be pin B0.
} lcd;
Greatly appreciate for anyone who guide . Thanks
struct lcd_pin_map { // This structure is overlayed
BOOLEAN enable; // on to an I/O port to gain
BOOLEAN rs; // access to the LCD pins.
BOOLEAN rw; // The bits are allocated from
BOOLEAN unused; // low order up. ENABLE will
int data : 4; // be pin B0.
} lcd;
Greatly appreciate for anyone who guide . Thanks