peter brier
/
laos
LaOS Laser test program
Revision 1:93d357b92fd0, committed 2011-01-27
- Comitter:
- pbrier
- Date:
- Thu Jan 27 20:07:29 2011 +0000
- Parent:
- 0:5c352dab4496
- Commit message:
- 1.1
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 5c352dab4496 -r 93d357b92fd0 main.cpp --- a/main.cpp Thu Jan 27 19:51:07 2011 +0000 +++ b/main.cpp Thu Jan 27 20:07:29 2011 +0000 @@ -21,8 +21,8 @@ * This program implements Bresenham line algorithm program (2D) * see: http://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm * In addition: we controll a Z-axis and a laser. - * Note: Fixed speed lasering (no accelleration). Actually: vector speed depends on angle. Perpendicular to X or Y axis is lowest speed - * At 45 degrees is is sqrt(2) faster (approx 40%). Simple program, no line buffering. Considerable jitter on pulses. + * Note: Fixed speed lasering (no accelleration). + * Simple program, no line buffering. Considerable jitter on pulses. Speed varies approx 30%, depending on angle (varies over 1.5 degree) * */ #include "mbed.h"