In Arduino, we can use:
int ledPin = 13; pinMode(ledPin, OUTPUT); // sets the digital pin 13 as output digitalWrite(ledPin, HIGH); // sets the LED to the button's value
However, can we use PORTC as the Digital Output? If YES, how we define & use it as above codes?
Thanks to any help :-?
14 - 19 can be used to digitalWrite/Read the analogIn / PORTC
int ledPin = 15; //analog 1 pinMode(ledPin, OUTPUT); // sets the digital pin 13 as output digitalWrite(ledPin, HIGH); // sets the LED to the button's value
It works!
Many thanksn