![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
LED
Revision 0:82b2afd75a55, committed 2022-03-11
- Comitter:
- asumamatsumura
- Date:
- Fri Mar 11 00:47:39 2022 +0000
- Commit message:
- LED;
Changed in this revision
diff -r 000000000000 -r 82b2afd75a55 arrc_mbed.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/arrc_mbed.lib Fri Mar 11 00:47:39 2022 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/TanakaRobo/code/arrc_mbed/#77c13e86ad12
diff -r 000000000000 -r 82b2afd75a55 main.cpp --- /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
diff -r 000000000000 -r 82b2afd75a55 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Mar 11 00:47:39 2022 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file