Changes between Version 9 and Version 10 of tinker-with-Leonardo
- Timestamp:
- May 26, 2012 8:59:13 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
tinker-with-Leonardo
v9 v10 24 24 25 25 int x = radius; 26 int y = 0;26 int y = 0; 27 27 28 28 void setup() { … … 33 33 phase %= full; 34 34 35 double th = 3.141592*2* phase / full;35 double th = 3.141592 * 2 * phase / full; 36 36 int xx = radius * cos(th); 37 37 int yy = radius * sin(th);