nRF51822 BLE control program using RCBController(iOS9). Control one LED(on/off), one LED(duty/PWM) and Servo Motor. Compile with latest (as of today) Lib's.
Fork of BLE_RCBController2_Motor by
Original software by jksoft-san. -> /users/jksoft/code/BLE_RCBController2/
Additional functions by robo8080-san. -> /users/robo8080/code/BLE_RCBController2_Motor/
Small modification under latest lib's at this moment (Jan. 1st, 2016)
Hardware: RedBearLab nRF51822 -> /platforms/RedBearLab-nRF51822/
Diff: RCBController.h
- Revision:
- 0:8c643bfe55b7
- Child:
- 1:48f6e08a3ac2
--- /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