![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
LED
Diff: main.cpp
- Revision:
- 0:82b2afd75a55
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Mar 11 00:47:39 2022 +0000 @@ -0,0 +1,14 @@ +#include "neopixel.h" +#include "mbed.h" +NeoPixelOut npx(PA_6,7); +int main(){ + + + for(int i = 0; i < npx.numPixels(); i++){ + npx.global_scale = 0.05f; + npx.normalize = false; + npx.setPixelColor(i,0xFFFFFF); + } + npx.show(); + +} \ No newline at end of file