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.
Diff: System/Process/Process.cpp
- Revision:
- 8:cb53beff4bb2
- Parent:
- 7:f4252ddc480d
- Child:
- 9:10276c46b467
diff -r f4252ddc480d -r cb53beff4bb2 System/Process/Process.cpp
--- a/System/Process/Process.cpp Sat Jan 27 05:29:03 2018 +0000
+++ b/System/Process/Process.cpp Sat Feb 24 07:32:11 2018 +0000
@@ -1,4 +1,4 @@
-//2018/01/26のやつ
+//2018/02/24のやつ
#include "Process.h"
@@ -6,6 +6,8 @@
#include "../../Communication/XBee/XBee.h"
#include "../../Input/Switch/Switch.h"
#include "../../Output/Motor/Motor.h"
+#include "../../Output/Servo/Servo.h"
+
//_____________________
/*---------------- HOW TO WRITE ----------------/
@@ -24,13 +26,10 @@
-
-
-
//↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
//_____________________
-// #define USE_USB_SERIAL
+//#define USE_USB_SERIAL
#ifdef USE_USB_SERIAL
Serial pc(SERIAL_TX, SERIAL_RX);
#endif
@@ -39,7 +38,7 @@
using namespace SWITCH;
-void SystemProcess(void) {
+void SystemProcess(void) {
while(true) {
controller = XBEE::Controller::GetData();
//____________________________
@@ -99,9 +98,6 @@
-
-
-
//↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
//____________________________