Skip to content

Instantly share code, notes, and snippets.

@dmiddlecamp
Created August 21, 2015 17:00
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 dmiddlecamp/48f270a306056cd06008 to your computer and use it in GitHub Desktop.
Save dmiddlecamp/48f270a306056cd06008 to your computer and use it in GitHub Desktop.
#include "application.h"
#include "ctrl.h"
Ctrl::Ctrl()
{
init();
}
Ctrl::~Ctrl(){
}
void Ctrl::init(void){
pinMode(D7, OUTPUT);
digitalWrite(D7, HIGH);
}
class Ctrl {
public:
Ctrl();
~Ctrl();
void init(void);
};
// 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