Simple neopixel (WS2812) library, tuned for stm32 (L432) at 80 MHz
Should be compatible with any stm32, different clock speed may require timing adjustments in neopixel.c
Dependents:
test_led_rgb
1 comment:
It seems that I took the wrong text format syntax. Here again:
__nop() is used as a compiler specific wrapper around the assembly intrinics of a "no operation" OP code for timing adjustments. This, however, depents on support of the compiler for the specific command/macro. Mbed has worked around this by providing the general macro __NOP(), which maps to the compiler specific function. This pull request intends to lift the compiler restriction by replacing __nop() with __NOP().
It seems that I took the wrong text format syntax. Here again:
__nop() is used as a compiler specific wrapper around the assembly intrinics of a "no operation" OP code for timing adjustments. This, however, depents on support of the compiler for the specific command/macro. Mbed has worked around this by providing the general macro __NOP(), which maps to the compiler specific function. This pull request intends to lift the compiler restriction by replacing __nop() with __NOP().