monkeydevDe / piLaz0rTag

Lasertag system on a PI
3 stars 0 forks source link

Oled display slows everything down #35

Open tuxBurner opened 7 years ago

tuxBurner commented 7 years ago

When having the oled library running the hole program is reacting really slow

https://github.com/MaBecker/oled-i2c-bus https://github.com/noopkat/oled-js/issues/114

When nothing helps we should consider running the display code in a separate process like the ws2812 and send data via tcp to it.

But the best way would be to solve this in the code directly. Perhaps running this async or something like this.

tuxBurner commented 7 years ago

http://www.mindsensors.com/blog/how-to/change-i2c-speed-with-raspberry-pi