summaryrefslogtreecommitdiff
path: root/src/testApp.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2012-03-21 23:08:28 +0000
committerTim Redfern <tim@eclectronics.org>2012-03-21 23:08:28 +0000
commit79c3cd01ef47524e80bd2d242807ad60c5de1e0d (patch)
tree024bb9d79dba2892f7f2f57e83fa058cda6d7ca5 /src/testApp.h
parent3d5588a7ead64f3b11ef132f21469b9471819850 (diff)
arduino added
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;
};