![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
LED
main.cpp
- Committer:
- asumamatsumura
- Date:
- 2022-03-11
- Revision:
- 0:82b2afd75a55
File content as of revision 0:82b2afd75a55:
#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(); }