dear friends,
i've got a code for my 20 X 4 LCD for my project using LPC2368 microcontroller.and it is working fine but the below portion is not clear to me...please give some light on it..
the variables temp and LCD_DATA are exclusive ORed bit by bit (bit0 with bit0, bit1 with bit1 etc)
usually this kind of operation is used to invert one or more bits,
anything exclusive ORed with 1 is inverted (a 0 becomes 1, and 1 becomes 0)
The initialization of the LCD uses specific commands depending on the operation you want,
these are described in the datasheet of the LCD (the most common is HD44780 https://www.sparkfun.com/datasheets/LCD/HD44780.pdf )