PBP INC. file
CONFIG XINST = OFF
CONFIG PLLDIV = 1 ' I tested this value with 4Mhz and PLLDIV 5 with 20Mhz
CONFIG WDTPS = 512
CONFIG CPUDIV = OSC1
CONFIG FOSC = HSPLL
'''''''''''''''
the PICBASIC CODE :
DEFINE OSC 48
OSCTUNE.6=1
UCON.3=1
USBINIT
MAIN:
USBSERVICE
usbin 3,i,x,m2
GOTO MAIN
'''''''''''''''''''''''''''''''''''''''''''
just simple code to test USB , no luck !
I use ICD2 programmer , and I get the PIC to work and blink some LEDs
the main problem is the USB
Bookmarks