Added support for 125MHz to WS2812 for RP2040

This commit is contained in:
BCG
2022-02-14 00:47:45 -05:00
parent 10bd48c39d
commit b4eb406a43
3 changed files with 303 additions and 1 deletions
+3
View File
@@ -29,6 +29,9 @@ func (d Device) WriteByte(c byte) error {
case 120_000_000: // 120MHz
d.writeByte120(c)
return nil
case 125_000_000: // 125MHz
d.writeByte125(c)
return nil
case 168_000_000: // 168MHz, e.g. stm32f405
d.writeByte168(c)
return nil