rm-hull / luma.examples

Companion repo for running examples against the luma.oled, luma.lcd, luma.led_matrix and luma.emulator display drivers.
MIT License
380 stars 147 forks source link

ssd1306 Histogram example #102

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hello,

I made this simple system monitor screen for my OrangePi Zero and ssd1306(128x64) It shows a CPU load histogram , RAM usage bar, CPU thermometer bar and system uptime.

I saw a histogram in "TODO" somewhere in your examples while learning how to use the library so i thought maybe you guys can use this in your repo.

I'm pretty much a newbie when it comes to programming so i'm sure this can be optimized

sysinfo_ssd1306_128x64.zip

ghost commented 5 years ago

Improved version with some bugs fixed:

sysinfo_ssd1306_128x64.zip

thijstriemstra commented 5 years ago

thanks @Tkopic001. Can you paste that in a new file (e.g. https://github.com/rm-hull/luma.examples/new/master/examples) and open a pull request? that way we can properly attribute it to you.

ghost commented 5 years ago

Hello,

Thank you for your answer, I have added the file

Kind regards,