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: BLE_API_Native_IRC mbed
Fork of BLE_konashi_PIO_test by
Diff: RCBController.h
- Revision:
- 0:8c643bfe55b7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RCBController.h Thu Jul 10 14:21:52 2014 +0000 @@ -0,0 +1,32 @@ +typedef union +{ + struct { + unsigned UP : 1; + unsigned DOWN : 1; + unsigned RIGHT : 1; + unsigned LEFT : 1; + unsigned Y : 1; + unsigned A : 1; + unsigned B : 1; + unsigned X : 1; + unsigned L1 : 1; + unsigned L2 : 1; + unsigned R1 : 1; + unsigned R2 : 1; + unsigned START : 1; + unsigned SERECT : 1; + unsigned space : 2; + unsigned LeftAnalogLR:8; + unsigned LeftAnalogUD:8; + unsigned RightAnalogLR:8; + unsigned RightAnalogUD:8; + unsigned AcceleX:8; + unsigned AcceleY:8; + unsigned AcceleZ:8; + unsigned DEV_DIR:4; + unsigned RIGHT_ANALOG:1; + unsigned LEFT_ANALOG:1; + unsigned ACCELE_SETTING:2; + }status; + unsigned char data[10]; +}RCBController; \ No newline at end of file