ninjablocks / 433Utils

433Kit is a collection of code and documentation designed to assist you in the connection and usage of RF 433MHz transmit and receive modules to/with your Arduino and Rapberry Pi.
ninjablocks.com
MIT License
895 stars 335 forks source link

Decrease Example from 100% CPU Usage #33

Closed computerlyrik closed 6 years ago

computerlyrik commented 7 years ago

Without sleeping, example will use up to 100% CPU Core.

elliots commented 7 years ago

Is there anyone else that can verify this works as described?

computerlyrik commented 7 years ago

To Reproduce: Clone, Compile, Build On Raspberry 3 - Arch linux

If anyone knows another solution, i would be happy - with usleep(100) still takes up to 16% CPU