monkeydevDe / piLaz0rTag

Lasertag system on a PI
3 stars 0 forks source link

Check if we can make the display code faster #44

Open tuxBurner opened 7 years ago

tuxBurner commented 7 years ago

The display code is really slow and already token to an own sub node js process so it will not block the main loop.

Perhaps we should also take a look at https://github.com/noopkat/oled-js/issues/114 Also we should check if the i2c or spi modules have speed diffrents

https://hackaday.com/2018/05/08/push-it-to-the-limit-ssd1306-at-150-fps/

normen commented 6 years ago

The main issue is that you send the data byte by byte, heres a commit in my fork of a fork that made the library MUCH faster. Now it performs similar to the C library I used before.

https://github.com/normen/oled_ssd1306_i2c/commit/bd46541b9056e18789ca9e570f624fb0907fc941