I just got the upgrade 2.60 and found the "AllDigital.pbp" include on another thread...works great!
I still am concerned about an error I get
Error[113] c:\pbp\18f4550.inc 21 : Symbol not previously defined (_FCMEN_OFF_1H)
Here is a simple code
Code:' Example program to blink an LED connected to PORTB.0 about ' once a second INCLUDE "modedefs.bas" include "ALLDIGITAL.pbp" OSCCON =$60'72 'clock speed DEFINE OSC 4 LED VAR PORTB.0 ' Assign name "LED" to PORTB.0 mainloop: High LED ' Turn on LED connected to PORTB.0 Pause 500 ' Delay for .5 seconds Low LED ' Turn off LED connected to PORTB.0 Pause 500 ' Delay for .5 seconds Goto mainloop ' Go back to loop and blink LED forever End




Bookmarks