It works! Thanks to everyone for the help. I made a really dumb newbie mistake, trying to follow the documentation (printed near a ream of paper) and figure out where to insert the code in the compiler subdirectory (failed to locate) instead of simply adding the Define by mackrackit to my simple program. After I posted, I got inspired with that idea and it works (fast) with the 48Mhz crystal.
Yes there are some chips missing in my drop down menu. I chose the PIC18F4550 as it has USB and is in the menu. But the 12 bit A/D versions PIC18F2458, PIC18F2553, PIC18F4458, PIC18F4553 do not show in the menu.
My main goal is to make a circuit to do a PID loop to control a proportional hydraulic valve via the USB interface with a computer. I've seen the Microchip site has a PID program in Assembler. Is there one in Basic? Is there a sample USB interface in Basic?
Bookmarks