adafruit / Adafruit_DotStar

GNU General Public License v3.0
97 stars 58 forks source link

add no-ops in software bit bashing for fast processors #33

Closed WhichKatieDid closed 5 years ago

WhichKatieDid commented 5 years ago

This change simply adds no-ops in assembly for software-based switching for CPUs with a frequency greater than or equal to 48 Mhz. In testing with a teensy (72 Mhz) I found that without these no-ops, the output pins had no time to stabilize to output voltages.