V1

Dependencies:   mbed 25LCxxx_SPI MCP23S17

Revision:
0:a9e3bce19b5d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.c	Sat Jan 16 16:17:05 2021 +0000
@@ -0,0 +1,20 @@
+#include "mbed.h"
+
+
+Serial pc(PA_2, PA_3);  // I/O terminal PC
+DigitalOut led(PA_15);  // led
+Ticker automate;
+//
+void autom(void)
+{
+    led=!led;
+}
+int main()
+{
+    automate.attach(&autom,1.0);
+    while(1);
+
+
+
+
+}
\ No newline at end of file