Glass2
-
Hi All
I've got a Glass2 unit attached to a Atom Lite via a grove cable. I can't find any documentation around how to access it. In UIFLOW2, I've found a init block that gives this code
def setup(): global i2c0, glass2_0 M5.begin() i2c0 = I2C(0, scl=Pin(32), sda=Pin(26), freq=100000) glass2_0 = M5.addDisplay(i2c0, 0x3c, {"unit_glass2":True})
But I can't se how to access the glass to write text. Has anyone managed to do this?
Thanks
Tony
-
-
@robski Thanks
I was looking on the GLASS2 page and there are no UIFLOW examples on there. I have come to the conclusion that GLASS2 is not fully implemented in UIFLOW2 as when I went back to UIFLOW1 there is a whole load of methods exposed on there. I may just have to learn a bit more about I2C and code via the Arduino IDE
Tony