Private
Public Access
2
0

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:
Brendan Le Foll
2014-07-29 12:16:27 +02:00
parent 662bf67dc6
commit 11f1f784c7

View File

@@ -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)