I'm new on Raspberry. I wanted to know if it is possible to execute a code every 10 ms (for example) ? On an arduino board, I used timer interruption to do that with the following libray (#include <avr/interrupt.h), and use some prescaler etc.... I need that for servo motor control, or display some data (temperature, speed...) at a specific frequency.
If anyone have a very short example, and very simple, it would be good
For example, I want to display in the time in the console at every 100 ms. For now I used some delay in the main function, but it is not appropriate... because the code stop on the delay...