Skip to content

Instantly share code, notes, and snippets.

View DeathMetalCoder's full-sized avatar

Brenton Morton DeathMetalCoder

  • Seattle, WA
View GitHub Profile
@DeathMetalCoder
DeathMetalCoder / cosplay_servo_wings
Created September 12, 2016 00:01
cosplay_servo_wings
/*******************************************************************
SoftServo sketch for Adafruit Trinket. Turn the potentiometer knob
to set the corresponding position on the servo
(0 = zero degrees, full = 180 degrees)
Required library is the Adafruit_SoftServo library
available at https://github.com/adafruit/Adafruit_SoftServo
The standard Arduino IDE servo library will not work with 8 bit
AVR microcontrollers like Trinket and Gemma due to differences
in available timer hardware and programming. We simply refresh