summaryrefslogtreecommitdiffstatshomepage
path: root/drivers/neopixel/neopixel.py
Commit message (Collapse)AuthorAge
* drivers: Remove drivers that are now in micropython-lib.Jim Mussared2022-09-08
| | | | Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
* drivers/neopixel: Avoid heap alloc in fill().Jim Mussared2021-11-19
| | | | | | | Previously the use of `range(start,stop,step)` caused an allocation. Replace with while loop. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
* drivers/neopixel: Reduce code size of driver.Jim Mussared2021-08-30
| | | | | | Saves 71 bytes of bytecode. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
* drivers/neopixel: Optimize fill() for speed.Jim Mussared2021-08-30
| | | | | | | This makes fill() about 7x faster (PYBV11 and PYBD_SF6) for the cost of +40 bytes of bytecode (or 120 bytes text). Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
* drivers/neopixel: Add common machine.bitstream-based neopixel module.Jim Mussared2021-08-19
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>