hi Lewis and welcome.
in deed the compiler is telling you that this part (pic 12f675) didn't have a port B (it's a tinny pic with only 6 IO pins) when you read the datasheet of that part you can see that those pins are called GP0, GP1, GP2, GP3, GP4 and GP5. you can use this designations in GC basic, so for example you can use:
dirGP1outdoforeverGP1=1wait1sGP1=0wait1sloop
to blink a led on pin 6
happy coding!
Angel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am a Noobie feeling my way around. New GC Studio installation/latest version.
Used: first-start-sample.gcb
Added #option Explicit
No errors were reported using #CHIP 16f886
Changed to an old PIC part in hand. #CHIP 12f675
Best regards,
Lew
hi Lewis and welcome.
in deed the compiler is telling you that this part (pic 12f675) didn't have a port B (it's a tinny pic with only 6 IO pins) when you read the datasheet of that part you can see that those pins are called GP0, GP1, GP2, GP3, GP4 and GP5. you can use this designations in GC basic, so for example you can use:
to blink a led on pin 6
happy coding!
Angel
Dang! Embarrassed. I knew that...ahem, more than 10 years ago!
Thank you Angel.