Skip to content

Instantly share code, notes, and snippets.

@marcusobrien
Created June 10, 2021 21:48
Show Gist options
  • Save marcusobrien/263c5e008160f15ff1ed09e8904877d8 to your computer and use it in GitHub Desktop.
Save marcusobrien/263c5e008160f15ff1ed09e8904877d8 to your computer and use it in GitHub Desktop.
colour SMA1::GetColourLED()
{
if (Firmware() == 1.0)
return colour::Blue;
else if (Firmware() == 2.0)
return colour::Green;
etc.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment