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 "ofMain.h" | |
#include "testApp.h" | |
#include "ofAppGlutWindow.h" | |
//======================================================================== | |
int main( ){ | |
ofAppGlutWindow window; | |
ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context | |
// this kicks off the running of my app |
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 "ofMain.h" | |
#include "testApp.h" | |
#include "ofAppGlutWindow.h" | |
//======================================================================== | |
int main( ){ | |
ofAppGlutWindow window; | |
ofSetupOpenGL(&window, 320,240, OF_WINDOW); // <-------- setup the GL context | |
// this kicks off the running of my app |
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 "ofMain.h" | |
#include "testApp.h" | |
#include "ofAppGlutWindow.h" | |
//======================================================================== | |
int main( ){ | |
ofAppGlutWindow window; | |
ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context |
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
/*============================================================================== | |
Copyright (c) 2011, 2012 Christopher Baker <http://christopherbaker.net> | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
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
/usr/lib/arm-linux-gnueabihf/libcofi_rpi.so | |
libudev.so.0 => /lib/arm-linux-gnueabihf/libudev.so.0 | |
libGLESv2.so => /opt/vc/lib/libGLESv2.so | |
libEGL.so => /opt/vc/lib/libEGL.so | |
libopenmaxil.so => /opt/vc/lib/libopenmaxil.so | |
libbcm_host.so => /opt/vc/lib/libbcm_host.so | |
libvcos.so => /opt/vc/lib/libvcos.so | |
libvchiq_arm.so => /opt/vc/lib/libvchiq_arm.so | |
libfreeimage.so.3 => /usr/lib/libfreeimage.so.3 | |
libcairo.so.2 => /usr/lib/arm-linux-gnueabihf/libcairo.so.2 |
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
pi@rpi ~/openFrameworks/apps/devApps/jvc_fboTest/bin $ ./jvc_fboTest | |
ofAppEGLWindow constructor | |
in ofAppEGLWINDOW: setupOpenGL | |
succes=0 | |
REQUESTED SCREEN SIZE w=1024 and h=768 | |
HARDWARE SCREEN SIZE IS sw=1920 and sh=1080 | |
CREATING A SCREEN THAT IS w=1024 and h=768 | |
[ofAppEGLWindow::setupEGL:notice] setting EGL Display | |
[ofAppEGLWindow::setupEGL:notice] setting default Display | |
[ofAppEGLWindow::setupEGL:notice] EGL Display correctly set |
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 "ofMain.h" | |
#include "testApp.h" | |
//======================================================================== | |
int main( ){ | |
ofSetupOpenGL(1024,768, OF_WINDOW); // <-------- setup the GL context | |
// this kicks off the running of my app | |
// can be OF_WINDOW or OF_FULLSCREEN |
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 PROGRAM WORKS WITH PulseSensorAmped_Arduino-xx ARDUINO CODE | |
*/ | |
import processing.serial.*; | |
Serial port; | |
int Sensor; // HOLDS PULSE SENSOR DATA FROM ARDUINO | |
int IBI; // HOLDS TIME BETWEN HEARTBEATS FROM ARDUINO |
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 "ofThread.h" | |
#include "ofLog.h" | |
#include "ofUtils.h" | |
#ifdef TARGET_ANDROID | |
#include <jni.h> | |
#include "ofxAndroidUtils.h" | |
#endif | |
//------------------------------------------------- |
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
References: | |
- https://github.com/sparkfun/pcDuino/wiki/Getting-started | |
- http://www.youtube.com/watch?feature=player_embedded&v=-2j_ELN3LnU | |
Before: | |
You need to prepare an external disk. This can be an SD card via a USB reader, or a USB stick, or an external hard drive. It must be formatted with linux partition, rather than FAT32 (usually the default). There are many ways to format your SD card, but one easy way on the pcDuino is this: | |
@ the terminal | |
1. Open up Disk Utility in Start->Preferences->Disk Utility | |
2. Find your volume (may be an Generic STORAGE DEVICE). | |
3. Unmount the volume. |
OlderNewer