Sorry I didn't get back to this thread sooner, but I got both interrupts working well for this application. For reference, these interrupts are specific to a quadcopter. The "PULSE_WIDTH" interrupt...
Here is an example of a neat little solar panel tracker that I built for a NiMh battery charger. I decided to build it for a variety of reasons - - -
...
Re: Converting PBP interrupt to ASM - 18F25K20
for what it worth you might save a nano second or two
richard - 4th March 2026, 05:30i'm not exactly sure how the assembler works but SFR's that are in the access bank can be referenced without needing to select bank 15...