For the timer type it returns something like
Where can i find the meaning?
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, powered by microcosm.
Report a problem