I wonder if there is also a similar way to find out the pins corresponding to different timers. I guess it should be possible since analogWrite uses a pin number as an input.
Thanks for the advice. When I modify the script to add "TIM" to the peripherals, it does give the correct bit definitions but all the base addresses are null (result attached). What is wrong?
I guess it should be possible to obtain the memory offsets of the timer registers for specific boards from the Espruino firmware since functions like digitalPulse use them anyway. Any ideas how to do that?
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.
For the timer type it returns something like
"type": "\x10\x90"
Where can i find the meaning?