How do you print a variable on the RGB LCD screen? Tried a few things and this simple code python code fails.
from grovepi import *
from thread import *
#LCD module imports
from grove_rgb_lcd import *
import RPi.GPIO as GPIO
setRGB(255,0,0) #sets text screen to red
while Counter > 0:
Counter = Counter -1
setRGB(0,0,0) #sets text screen off
Throws this error when run.
“TypeError: ‘int’ object is not iterable”
Is there an easy way of doing this? Had a look at the examples and have started to pull apart and substitute values and variables but it ends up with the same error.
Thanks in advance.