Can anyone please describe how to use sandeepmistry nrf52 library to create an accurate microsecond timer, without using any standard delay functions.
I'm using the timer on a generic nrf52832 design I made for myself, and I want to use it to control the duty cycle of a 1 kHz square wave. I figured that if I can create a 1000 us on and off and vary the on time in 5us increments, I effectively have a 1 - 50% duty cycle output.