Created
August 21, 2015 17:00
-
-
Save dmiddlecamp/48f270a306056cd06008 to your computer and use it in GitHub Desktop.
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
#include "application.h" | |
#include "ctrl.h" | |
Ctrl::Ctrl() | |
{ | |
init(); | |
} | |
Ctrl::~Ctrl(){ | |
} | |
void Ctrl::init(void){ | |
pinMode(D7, OUTPUT); | |
digitalWrite(D7, HIGH); | |
} |
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
class Ctrl { | |
public: | |
Ctrl(); | |
~Ctrl(); | |
void init(void); | |
}; |
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
// This #include statement was automatically added by the Particle IDE. | |
#include "ctrl.h" | |
Ctrl ctrl = Ctrl(); | |
void setup() { | |
digitalWrite(D7, LOW); | |
} | |
void loop() { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment