Takashi Asano
/
linearMirrorMotion1017
sotsuron
Fork of linearMirrorMotion1017 by
Diff: renderclass.cpp
- Revision:
- 17:dce982e0a383
- Parent:
- 16:6dd2e60bc5bc
- Child:
- 18:6f86abfae754
--- a/renderclass.cpp Mon May 20 08:25:22 2013 +0000 +++ b/renderclass.cpp Mon May 20 08:51:07 2013 +0000 @@ -3,7 +3,6 @@ #include "laserProjectorHardware.h" #include <vector> -Ticker renderTimer; Ticker translationTimer; //for translating ----------------------------------------------------------------- @@ -29,7 +28,7 @@ void render::startRender(){ //void (render::*fpdraw)() = draw; // I can't solve the error.......I tried a few days.......... - //renderTimer.attach_us((this->*fpdraw)(), 200); // ???????how to set menber function??????? + renderTimer.attach_us(this, &render::draw,RENDER_INTERVAL); // ???????how to set menber function??????? } void render::stopRender(){