ルンバハック用.

Dependencies:   mbed

Committer:
naoki_westwell
Date:
Fri Jun 24 07:33:46 2016 +0000
Revision:
0:ac1e1657002a
Roomba Hack

Who changed what in which revision?

UserRevisionLine numberNew contents of line
naoki_westwell 0:ac1e1657002a 1 //////////////////////////////////////
naoki_westwell 0:ac1e1657002a 2 /* 名目規則:[Device]_[Interface] */
naoki_westwell 0:ac1e1657002a 3 /* [Device] */
naoki_westwell 0:ac1e1657002a 4 /* 有線: Wired */
naoki_westwell 0:ac1e1657002a 5 /* Bluetooth: BT */
naoki_westwell 0:ac1e1657002a 6 /* Xbee: Xbee */
naoki_westwell 0:ac1e1657002a 7 /* [Interface] */
naoki_westwell 0:ac1e1657002a 8 /* PC: Pc */
naoki_westwell 0:ac1e1657002a 9 /* Smartphone: SM */
naoki_westwell 0:ac1e1657002a 10 /* Hand-made switch:HMS */
naoki_westwell 0:ac1e1657002a 11 /* ※define は大文字にする. */
naoki_westwell 0:ac1e1657002a 12 ///////////////////////////////////////
naoki_westwell 0:ac1e1657002a 13
naoki_westwell 0:ac1e1657002a 14 /* システム選択 */
naoki_westwell 0:ac1e1657002a 15 #define CMD_RECEIVER
naoki_westwell 0:ac1e1657002a 16 //#define CMD_TRANSMITTER
naoki_westwell 0:ac1e1657002a 17 //#define SONG_HACK
naoki_westwell 0:ac1e1657002a 18
naoki_westwell 0:ac1e1657002a 19 #define START 0x80
naoki_westwell 0:ac1e1657002a 20 #define BAUD 0x81
naoki_westwell 0:ac1e1657002a 21 #define SAFE 0x83
naoki_westwell 0:ac1e1657002a 22 #define FULL 0x84
naoki_westwell 0:ac1e1657002a 23 #define CLEAN 0x87
naoki_westwell 0:ac1e1657002a 24 #define MAX 0x88
naoki_westwell 0:ac1e1657002a 25 #define SPOT 0x86
naoki_westwell 0:ac1e1657002a 26 #define SEEK_DOCK 0x8F
naoki_westwell 0:ac1e1657002a 27 #define SCHEDULE 0xA7
naoki_westwell 0:ac1e1657002a 28 #define SET_DAY_TIME 0xA8
naoki_westwell 0:ac1e1657002a 29 #define POWER 0x85
naoki_westwell 0:ac1e1657002a 30 #define BUTTONS 0xA5
naoki_westwell 0:ac1e1657002a 31 #define SONG 0x8C
naoki_westwell 0:ac1e1657002a 32 #define PLAY 0x8D