I currently have a board using the pixaxe 08m2, now I want to use GCB and I understand the 12F1840 is the same chip used for the 08M2.
My board has two a/d channels in use, so to change over to GCB I thought I would use the light logger example to start with. But changing the chip type from 16F819 to a 12F1840, it assembles ok but when compiling to hex file it states "Error Symbol TRISB not defined.
I can post the code here but it is the code used in "Light Logger"
Only change is the chip type.
.
Compiler V 0.97.01 2017-02-20
.
-
EDIT: Found it, light logger was using a nonexsisting port on 12F1840.
Last edit: Paul Haug 2017-04-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I currently have a board using the pixaxe 08m2, now I want to use GCB and I understand the 12F1840 is the same chip used for the 08M2.
My board has two a/d channels in use, so to change over to GCB I thought I would use the light logger example to start with. But changing the chip type from 16F819 to a 12F1840, it assembles ok but when compiling to hex file it states "Error Symbol TRISB not defined.
I can post the code here but it is the code used in "Light Logger"
Only change is the chip type.
.
Compiler V 0.97.01 2017-02-20
.
-
EDIT: Found it, light logger was using a nonexsisting port on 12F1840.
Last edit: Paul Haug 2017-04-12
Good catch.