Before I get too deep in this, can I blink an LED ON for 500uS, OFF for 500uS using standard PWM module?
Or am I trying to use a Ferrari as a baby stroller?
I know I can use DT_INT but I know how to do that and want to avoid using cycles. The PWM hardware is there doing nothing and I was hoping I could use it as a heartbeat during my tests.
I've printed pages 186-189 of the 18F44K22 datasheet and it doesn't seem overwhelming at first glance. The only part I can't determine by reading that is if I can use it as slow as I want. I know this is meant to drive motors so it's entirely possible that it can't physically go this slow.
Robert
EDIT: I'm running at 64MHz so I can guarantee persistence of vision while blinking at least 50 LEDs, manage a keypad and handle USART comms (at the very least). But I'm getting a feeling by looking at that PWM PERIOD formula at 14-1 that I could only do this if I slow to a crawl.
Bookmarks