Can someone please assist with this piece of code. The code splits a byte (OutputByte) in 2 and sends to pins 7,6,5, and 4 but I don't understand how it works
The 'rs' is a variable, like outbyte is. Because my crystal ball has been recently polished I can make a good guess that this is part of some LCD controlling program. If so the 'rs' variable is used to hold the value for the Register Select bit to indicate whether what is being sent should go to the Data Register or Command Register of the LCD.