MATSU-bed + I2CLCD sample (e.g. AQM0802A)

Dependencies:   mbed I2cLCD MATSUbed USBDevice

Fork of MASTU-bed_I2CLCD by Daisuke Sato

/media/uploads/Tiryoh/motion-still-2018-05-13-compressor.gif

AQM0802A: http://akizukidenshi.com/catalog/g/gP-06669/

Files at this revision

API Documentation at this revision

Comitter:
Tiryoh
Date:
Sun Dec 02 13:50:54 2018 +0000
Parent:
0:430362be0583
Commit message:
Add MATSU-bed.h

Changed in this revision

MATSU-bed.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MATSU-bed.lib	Sun Dec 02 13:50:54 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/teams/MATSU-bed/code/MATSU-bed/#2318cc82d7fc
--- a/main.cpp	Sun May 13 11:14:06 2018 +0000
+++ b/main.cpp	Sun Dec 02 13:50:54 2018 +0000
@@ -1,14 +1,7 @@
 #include "mbed.h"
 #include "USBSerial.h"
 #include "I2cLCD.h"
- 
-#define LED1 P0_29
-#define LED2 P0_28
-#define LED3 P0_27
-#define LED4 P0_26
- 
-#define ISP0 P0_4
-#define ISP1 P0_16
+#include "MATSU-bed.h"
  
 USBSerial pc;
 BusOut myled(LED1, LED2, LED3, LED4);