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.
Dependencies: NeoStrip_mod VCNL40x0_1 mbed
Fork of XYZ_PROX_01_1 by
Diff: main.cpp
- Revision:
- 2:9252c8c48272
- Parent:
- 0:09dd83d78a0a
diff -r 33ba332a73ab -r 9252c8c48272 main.cpp
--- a/main.cpp Fri May 30 12:41:00 2014 +0000
+++ b/main.cpp Fri May 30 12:50:31 2014 +0000
@@ -1,7 +1,9 @@
#include "mbed.h"
#include "VCNL40x0.h"
#include "NeoStrip.h"
-#define #define NumPixels 4
+#define NumPixels 4
+
+#define PIN_OUTPUT 6
I2C i2c(p28, p27);
DigitalOut mled0(LED1);
@@ -110,7 +112,7 @@
pc.printf("\r %i ", sensors[i]);
}
pc.printf("\r \n ");};
-}
+//}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
