Hiromasa Oku
/
linearMirrorMotion1017
this version 10/17
Fork of linearMirrorMotion by
Diff: renderclass.h
- Revision:
- 17:dce982e0a383
- Parent:
- 16:6dd2e60bc5bc
- Child:
- 18:6f86abfae754
diff -r 6dd2e60bc5bc -r dce982e0a383 renderclass.h --- a/renderclass.h Mon May 20 08:25:22 2013 +0000 +++ b/renderclass.h Mon May 20 08:51:07 2013 +0000 @@ -1,6 +1,8 @@ #include "mbed.h" #include <vector> +#define RENDER_INTERVAL 200 // in microseconds + struct point2dl { int x,y; int laserSwitch; // laser {1: on 0:off} until next step @@ -24,4 +26,6 @@ int currentLetters; int currentPoints; point2dl drawPoint; + + Ticker renderTimer; }; \ No newline at end of file