The #Trinket driving two servos (horizontal and vertical) with a laser to show the scanning (the full video will show it scanning up and down also). Less than 2K of flash used of the 5310 bytes available, plenty more room to do more.
20 plus ones
Shared publicly•View activity
- Ah, reminds me o't mills in Lancashire t'ah knows..Sep 9, 2013
- The red LED light flashes as the vertical servo uses PWM on Pin 1 (the horizontal pin 0). This is a holdover from seeing that the '85 has three PWM (0 and 1 on Timer 0, 4 on Timer 1). I wish the Servo8Bit library worked (seems like you have to chose one timer over another though) but I like many others on the Interwebs could not get it to work. SoftwareServo seems fine but the disadvantage is the servo refreshes every 25 ms.Sep 9, 2013