Skip to content

Instantly share code, notes, and snippets.

@SaraJo
Created November 14, 2016 02:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SaraJo/182220fda82cbe30255fe95f59d4a6b4 to your computer and use it in GitHub Desktop.
Save SaraJo/182220fda82cbe30255fe95f59d4a6b4 to your computer and use it in GitHub Desktop.
#ifndef __LED_H__
#define __LED_H__
#ifdef __cplusplus
extern "C"{
#endif // __cplusplus
class LED {
public:
void on(uint8_t number, char *color, uint8_t length);
private:
void color_lookup(char *color);
};
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment