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.
Dependencies: Dynamixel SerialHalfDuplex mbed
Revision 5:581b55deaeb1, committed 2015-04-25
- Comitter:
- yusuke_kyo
- Date:
- Sat Apr 25 06:43:37 2015 +0000
- Parent:
- 4:d9ea010641ab
- Child:
- 6:6d9dac9ff798
- Commit message:
- debug
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Apr 25 06:42:51 2015 +0000
+++ b/main.cpp Sat Apr 25 06:43:37 2015 +0000
@@ -12,7 +12,7 @@
#include "AX12.h"
#include "MX28.h"
-#define DYNA_DEBUG 1
+#define DYNA_DEBUG 0
DigitalOut low(p16); DigitalOut RelaySwitch(p18);
@@ -134,7 +134,7 @@
#define D6T_addr 0x14
#define D6T_cmd 0x4c
-#define THERMO_DEBUG 1
+#define THERMO_DEBUG 0
char I2C_rd1[64]; // 生データ
short datr1[16]; // 16点 温度データ(10倍整数)
@@ -239,7 +239,7 @@
AnalogIn ain(p20);
-#define CO2_DEBUG 1
+#define CO2_DEBUG 0
float GetCO2() {
float v; //生データ:電圧
@@ -259,7 +259,7 @@
/*---------------
MAIN ROOP
----------------*/
-#define DEBUG 1
+#define DEBUG 0
int main() {
char Dyna_data[50];