How do I digitalWrite to C0 thru C5?

I have the digital lines D0 thru D6 working, For example:

int led1 = D0;
pinMode(led1, OUTPUT);
digitalWrite(led1, HIGH);

However digital C0 thru C5 does not appear to follow the same system. For example:
int led2 = C0;

‘C0’ was not declared in this scope

How to I address these ports and more important where would I have found the information? I feel like I missing some resource. I do have some experience with Arduino so I’ve been guessing things are similar.

Thanks

1 Like

Make sure you select an Electron as a compile target.

2 Likes

That did it.

I had been playing with a Photon and forgot to change things.

Thanks for the fast help.

Doug

3 Likes