What is Nostr?
Legit_Spaghetti /
npub1tef…865f
2024-08-20 04:10:43

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/)
Author Public Key
npub1tef9l9qzawwlslemyaaaqlwv5x45vzm62kad4xdnuuph27lvcrxsyx865f