diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-03-21 23:08:28 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-03-21 23:08:28 +0000 |
| commit | 79c3cd01ef47524e80bd2d242807ad60c5de1e0d (patch) | |
| tree | 024bb9d79dba2892f7f2f57e83fa058cda6d7ca5 /src/testApp.h | |
| parent | 3d5588a7ead64f3b11ef132f21469b9471819850 (diff) | |
arduino added
Diffstat (limited to 'src/testApp.h')
| -rw-r--r-- | src/testApp.h | 17 |
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; }; |
