rgblcd.py: fix example to use 0xFF and not 0x255 which is out of bounds
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -33,5 +33,5 @@ x.writeReg(1,0)
|
||||
|
||||
# Be careful that your i2c device can actually handle a 'batch' handling of
|
||||
# such data, this is not typical in arduino type devices
|
||||
s = "\x08\xAA\x04\x255\x02\x255"
|
||||
s = "\x08\xAA\x04\xFF\x02\xFF"
|
||||
x.write(s)
|
||||
|
||||
Reference in New Issue
Block a user