Re: [Beginner Tutorial] How to get started with PICBASIC PRO Demo, MPLAB & PICKIT 2

Originally Posted by
citationjet100
I copied the code to the program file and still got syntax errors.
#CONFIG
__config _HS_OSC & _WDT_ON & _MCLRE_ON & _LVP_OFF & _CP_OFF
#ENDCONFIG
I am using MicroCode Studio Pro to complile the program and PICKIT2 for programming.
Thanks
Dave
. . . and no mention of which version of PBP . . .
Hi Dave,
The configs you are using are only for version 3.xx and later versions to come.
If you are using any earlier version this thread has everything you need to know: http://www.picbasic.co.uk/forum/showthread.php?t=543
ver 3.xx Make sure you have some spaces just before __config as Assembly is fussy that way
Last edited by Archangel; - 18th October 2014 at 22:57.
Reason: add img
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks