Legit_Spaghetti on Nostr: Getting back into #Arduino tinkering, and I'm starting to remember what screwed with ...
Getting back into #Arduino tinkering, and I'm starting to remember what screwed with my brain last time I tried.
Take this snippet:
int analogPin = A3;
A3. Assigned as the value of an integer.
A3.
A. 3.
...
WHAT?!? HOW! How is A3 an integer! Is this secretly hexadecimal? Do they really mean 163?
I am SO confused by this.
(see https://www.arduino.cc/reference/en/language/functions/analog-io/analogread/)
Take this snippet:
int analogPin = A3;
A3. Assigned as the value of an integer.
A3.
A. 3.
...
WHAT?!? HOW! How is A3 an integer! Is this secretly hexadecimal? Do they really mean 163?
I am SO confused by this.
(see https://www.arduino.cc/reference/en/language/functions/analog-io/analogread/)