Thanks Gordon for having a look into it. I looked through the API reference and figured maybe I could use peek/poke if I am stuck. I am not under any pressure. Just checking all the functionality before I start designing PCB for my little project.
I am using USB scope for probing signals. Great for home labs, it has waveform generator and other useful stuff digikit.
My guess is that the analogWrite function sets more than just updating the duty cycle value and it resets the timer. Maybe selecting option for frequency is doing that. For that servo I need to use around 20ms anyway.
I saw there are some modules available for driving motors so I will test them all and see. I am curious about the stepper motor driver for nrf52.
© Espruino, powered by microcosm.
Report a problem