Changes between Version 9 and Version 10 of tinker-with-Leonardo


Ignore:
Timestamp:
May 26, 2012 8:59:13 PM (12 years ago)
Author:
sgk
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • tinker-with-Leonardo

    v9 v10  
    2424
    2525int x = radius;
    26 int y =0;
     26int y = 0;
    2727
    2828void setup() {
     
    3333  phase %= full;
    3434
    35   double th =3.141592*2* phase / full;
     35  double th = 3.141592 * 2 * phase / full;
    3636  int xx = radius * cos(th);
    3737  int yy = radius * sin(th);