Skip to content

Instantly share code, notes, and snippets.

@brian-lc
Created December 7, 2016 03:17
Show Gist options
  • Save brian-lc/af7f5e84b738ec43193e61eeeb7de2da to your computer and use it in GitHub Desktop.
Save brian-lc/af7f5e84b738ec43193e61eeeb7de2da to your computer and use it in GitHub Desktop.
#define WAKESTATE = 1;
#define SLEEPSTATE = 0;
#define ERRORSTATE = -1;
// Sensor codes
#define ID_CMD = 'I';
#define LED_CMD = 'L';
#define READ_CMD = 'R';
#define SLEEP_CMD = 'Sleep';
class EzoSensor {
public:
String deviceID;
int deviceState;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment