Evan Anderson / Mbed 2 deprecated Nucleo_write_to_EEPROM

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
andeevan
Date:
Mon Nov 27 01:27:07 2017 +0000
Commit message:
Initial build from template

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Nov 27 01:27:07 2017 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+ 
+SPI device(SPI_MOSI, SPI_MISO, SPI_SCK);
+ 
+int main() {
+    int i = 0;
+    while(1) {
+        device.write(0x55);
+        device.write(i++);
+        device.write(0xE0);
+        wait_us(50);
+    }
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Nov 27 01:27:07 2017 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/e7ca05fa8600
\ No newline at end of file