bigjosh / SimpleNeoPixelDemo

A demonstration showing how easy it can be to drive WS2812 NeoPixels
MIT License
223 stars 59 forks source link

No _delay_us() available on Digispark ATTINY85 #20

Open mmmdwyer opened 2 years ago

mmmdwyer commented 2 years ago

The platform I was working on, the ATTINY85 Digispark clone doesn't have a delay_us() function available. I wasn't really able to find anything that seemed to reasonably replace it.

The good news is that this delay is ONLY used in the show() function, and my application had a frame delay at the end of each loop anyway. This delay was MORE than long enough that I just skipped a show() function entirely.