1 out of 1 members found this post helpful.
Did you find this post helpful?

|
Re: Adapting a PICAXE program to PBP, to program a PIC (compiler Errors)
Hi MpgMike
Indeed, there are several peculiarities to take into consideration when switching from Picaxe (or Basic Stamp) to a Pic.
But they are well documented in the Reference Manual which I consult if necessary.
I personally avoid using the registers that handle i/O and Directions.
I write in clear text in my program, which is then very readable, definitions like this:
Output 0 : Symbol LED = GPIO.0 'Led - pin7 - Out0
In the case of my present application, it was a stupid error of inattention because, indeed, the Pic12F629 does not have an ADC contrary to the 12F675!
This indeed caused incomprehensible compiler errors.
Thanks.
Bookmarks