Skip to content

Instantly share code, notes, and snippets.

@natxopedreira
natxopedreira / gist:8003749
Last active December 31, 2015 14:59
comando para usar serial con la raspuperry
stty raw crtscts -F /dev/ttyAMA0
void testApp::setup(){
ofBackground(0, 0, 0);
ofSetVerticalSync(true);
ofSetLogLevel(OF_LOG_VERBOSE);
ancho = 640;
alto = 480;
///// lo lleno al tuntun
for(int y = 0; y < alto ; y++){
for (int x=0; x<ancho; x++) {