I am trying to run code to output to my 16x2 display, but when I try to run the python file, there is no visible output to the display, and the following is returned: "/usr/local/lib/python2.7/dist-packages/RPLCD/gpio.py:122: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIOsetwarnings(False) to disable warnings.
GPIO.setup(pin, GPIO.OUT)" I am using a standard 16x2 LCD display wired as in this picture.
and this is the code I'm running in the python file:
from RPLCD import CharLCD lcd = CharLCD(cols=16, rows=2, pin_rs=37, pin_e=35, pins_data=[40, 38, 36, 32, 33, 31, 29, 23]) lcd.write_string(u'Hello world!')
Here are some images of my wiring:
Not sure how to fix this as I am new to python and raspberry pi