summaryrefslogtreecommitdiff
path: root/src/testApp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/testApp.h')
-rw-r--r--src/testApp.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/testApp.h b/src/testApp.h
index 32dae89..17ba87d 100644
--- a/src/testApp.h
+++ b/src/testApp.h
@@ -27,6 +27,7 @@ have to track how many frames each key has been pressed for
#include "ofMain.h"
+#include "ofEvents.h"
#include "ofxXmlSettings.h"
#include "ofx3DModelLoader.h"
@@ -76,10 +77,16 @@ class testApp : public ofBaseApp{
bool light;
ofVideoGrabber vidGrabber;
-
- unsigned char * videoInverted;
- ofTexture videoTexture;
- int camWidth;
- int camHeight;
+ unsigned char * videoInverted;
+ ofTexture videoTexture;
+ int camWidth;
+ int camHeight;
+ bool grabberAvailable;
+
+ void setupArduino(const int & version);
+ void updateArduino();
+ ofArduino ard;
+ bool bSetupArduino; // flag variable for setting up arduino once
+ int bSwitchArduino;
};