![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
tes ir atas semua
Dependencies: mbed ADS1115 StepperMotor SRF05 TPA81new
Diff: main.cpp
- Revision:
- 24:d8218318b7d9
- Parent:
- 18:f3b23331090f
--- a/main.cpp Mon Jan 21 12:25:18 2019 +0000 +++ b/main.cpp Mon Jan 21 14:21:43 2019 +0000 @@ -1,6 +1,7 @@ #include "mbed.h" #include "TPA81new.h" #include "SRF05.h" +#include "Uvtron.h" #define LCD_D4_DIG PA_15 #define LCD_D5_DIG PA_14 @@ -50,9 +51,9 @@ wait(0.5); // 200 ms relay = 1; - pc.printf("RELAY ON"); + pc.printf("RELAY ON\n"); wait(0.5); relay = 0; - pc.printf("RELAY OFF"); + pc.printf("RELAY OFF\n"); } }