Hi all, hoping someone can set me straight...
at the top of my code/project, I have a list of pins looking like
#define Pin_IN_cruise_resume D2
#define Pin_IN_cruise_release D3
.......
#define Pin_OUT_regen_brake D12
........
#define Pin_IN_dir_reverse D18
#define Pin_IN_dir_forward D19
all the same syntax and all that.
Then I set all of the input-pins up with
pinMode(Pin_IN_cruise_resume, INPUT_PULLUP);
pinMode(Pin_IN_cruise_release, INPUT_PULLUP);
......
pinMode(Pin_IN_dir_reverse, INPUT_PULLUP);
pinMode(Pin_IN_dir_forward, INPUT_PULLUP);
again, all the same idea, all the same format. Somehow, the compiler likes everything except the last 2 pins D18 and D19. It says they do not exist
C:\Users....\Documents\Arduino\Myproject.ino:63:35: error: 'D18' was not declared in this scope
What am I doing wrong on D18 and D19 that I'm somehow doing right on D2 and D3? The board layout jpg shows these pins as D18 and D19? When I name them SCA and SCL (what's printed on the connector), same error.
Thanks a bunch...