Created
March 28, 2024 18:54
-
-
Save delasign/c3baf987abc2c2af36349ea3eb049ce8 to your computer and use it in GitHub Desktop.
Sample use of a enum that has a namespace within a loop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void loop() | |
{ | |
// Print the Enum | |
Serial.print("DifferentEnum Value 1: "); | |
Serial.println(EnumTwo::DifferentEnum::Value_1); | |
Serial.print("DifferentEnum Value 2: "); | |
Serial.println(EnumTwo::Value_2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment