Skip to content

Instantly share code, notes, and snippets.

@reefwing
Created February 7, 2023 07:11
Show Gist options
  • Save reefwing/5a2f14a8570f9023b918fb594fa64aea to your computer and use it in GitHub Desktop.
Save reefwing/5a2f14a8570f9023b918fb594fa64aea to your computer and use it in GitHub Desktop.
Print out the Arduino BOARD_NAME constant
void setup() {
// Start Serial and wait for connection
Serial.begin(115200);
while (!Serial);
Serial.println(BOARD_NAME);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment