Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 1:93d357b92fd0
- Parent:
- 0:5c352dab4496
--- 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"