Closed ghost closed 5 years ago
thanks @Tkopic001
The travis build process detected some cosmetic issues, like whitespace around operators etc. Can you take a look and remove that whitespace?
See https://travis-ci.org/rm-hull/luma.examples/jobs/506936035#L361 for details.
I'm not really sure what's going on, i've went trought the code 4 times removing all the spaces,
It runs fine on multiple machines:
The details of the error look kinda strange: https://travis-ci.org/rm-hull/luma.examples/jobs/506953487
Oh, ok i see what's going on, i'm gonna fix it...
Well this was annoying, but i finally fixed it,
Happy to take it into the examples repo but I will make work the same as the other examples (i.e. using get_device, so that it works across different display types)
Sure, no problem, i'm happy you like it I would love to adapt this to be a bit more dynamic and work across multiple displays and resolutions but only have this one monochrome SSD1306 display :/
The other examples show how to use get_device and make it compatible with all devices.
Also add yourself to https://github.com/Tkopic001/luma.examples/blob/patch-1/CONTRIBUTING.rst
I made some small changes - it now works across a range of devices (inc. my mac), and we can use the luma.emulator devices now too:
can you also add it to the listing of examples in the docs?
Will do that directly on master
https://github.com/rm-hull/luma.examples/issues/102#issuecomment-473391918
I added a new file with my example system monitor
fixes #102