
Originally Posted by
prstein
Hi Jerson,
there is a place for PBP interrupts. First, for beginners (and even people who, like me, use the absolute minimum of assembly) it is simple, straightforward, and easy.
[/CODE]
The main loop checks to see if USB (through an FTDI serial converter) is connected,
Incidentally, @ nop and @ sleep are the full extent of my assembly knowledge...8^)
I really end up not using interrupts very much at all (except to wake a sleeping PIC). What I do is look at the interrupt flags when convenient for the code. This keeps it nice and simple and controlled. Like I said before, I am a simple man.
I have a real good time kicking around on my little scooter; it certainly gets me there. If someone told me I had to use ASM ints I would have given up before I started.
Bookmarks