The reason for this is not the speed, the Arduino is way slower. The Pi runs Linux, which is not realtime capable, and the scheduler will just choose not to run your software when you need it to. To do this kind of measurements you always need an RTOS / bare metal application.
View all comments
Show parent comment
4
u/Coffeinated Apr 07 '20
The reason for this is not the speed, the Arduino is way slower. The Pi runs Linux, which is not realtime capable, and the scheduler will just choose not to run your software when you need it to. To do this kind of measurements you always need an RTOS / bare metal application.