I have 4X4 keypad and 16x2 LCD connected to Raspberry pi using GPIO. Now when i am executing the below code, the key press from the keypad is displayed but position on lcd display is always 1st col or 2nd row. I want the cursor to shift position towards right as i enter any key on keypad. here are the codes.
Code: Select all
except KeyboardInterrupt:
GPIO.cleanup()