@allObjects thanks.
The dark spots are simply the interference of the rotation with the shutter speed of the iPhone cam.
As I said: with human eyes it looks nearly like closed circle.
The more strips you take (I had only two) the better it looks even for slow rotation speeds - but also needs more CPU power.
I doubt the Pico would be capable of much more strips and/or speed - however I never tried it out on a real bike (yet) to see where the maximum is.
What actually doesn't work flawlessly: using a second timer to update the text in the graphic buffer dynamically. Every time you operate the buffer takes some CPU cycles from the update timer and you have a big gap in the picture for a fraction of a second.
I have attached the sourcecode of this demo in case anyone is interested.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@allObjects thanks.
The dark spots are simply the interference of the rotation with the shutter speed of the iPhone cam.
As I said: with human eyes it looks nearly like closed circle.
The more strips you take (I had only two) the better it looks even for slow rotation speeds - but also needs more CPU power.
I doubt the Pico would be capable of much more strips and/or speed - however I never tried it out on a real bike (yet) to see where the maximum is.
What actually doesn't work flawlessly: using a second timer to update the text in the graphic buffer dynamically. Every time you operate the buffer takes some CPU cycles from the update timer and you have a big gap in the picture for a fraction of a second.
I have attached the sourcecode of this demo in case anyone is interested.
1 Attachment