sleemanj / optiboot

Small and Fast Bootloader for Arduino and other Atmel AVR chips
66 stars 13 forks source link

Implement fall-back to SoftwareServo For Tiny85 #5

Closed sleemanj closed 2 years ago

sleemanj commented 6 years ago

Servo library requires a 16 bit timer and doesn't work on the Tinyx5.

SoftwareServo should be brought in and Servo fall back to use that for the x5 and others that don't play well with Servo, it should however hook into the millis timer somehow to perform the refresh rather than the user have to do it, so that it is transparent.

Also of course modify the API so it is the same as Servo if it's not already (I have not checked).

sleemanj commented 2 years ago

Servo should now work on T85 with 2022.3.10 release given changes from upstream