Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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