Closed AxelHamburch closed 2 years ago
@lightisfaster I just tested the CPU workload again with the command "htop". 0.1 second sleep time ist fine.
Zero was bullshit and results in 100% cpu workload:
Was my fault.
0.01 seconds would result in 20-30%:
0.1 results in 15% CPU workload, 0.2 seconds would result in 10%. I think 0.1 is a good compromise:
200 ms delay for CPU idle and other processes
Too long a delay will have a negative effect on the coin detection and the lockout relay