Coarse / Fine

Box, put together and working great but; Rotating the encoders produces very little movement. Holding down the 'Fine" button can be seen to move the 2nd place decimal places but overall it's hard to put the lights where we want them. Is there a line in the Scratch code we can change to increase the Pan / Tilt excursions? I'I' More movement per rotation of wheel?

Parents Reply Children
  • Totally. I opened the box's script in the Ardiuno editor and found lines "113 #define PAN_SCALE 1" and "114 #define TILT_SCALE 1".  Changed the 1's to 5, saved and loaded it. You might have to try different values to get a comfortable turn rate. I think I ended up using 20 (a lot!).