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 robo 8080

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/

Committer:
jksoft
Date:
Thu Jul 10 14:21:52 2014 +0000
Revision:
0:8c643bfe55b7
Child:
1:48f6e08a3ac2
??

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jksoft 0:8c643bfe55b7 1 typedef union
jksoft 0:8c643bfe55b7 2 {
jksoft 0:8c643bfe55b7 3 struct {
jksoft 0:8c643bfe55b7 4 unsigned UP : 1;
jksoft 0:8c643bfe55b7 5 unsigned DOWN : 1;
jksoft 0:8c643bfe55b7 6 unsigned RIGHT : 1;
jksoft 0:8c643bfe55b7 7 unsigned LEFT : 1;
jksoft 0:8c643bfe55b7 8 unsigned Y : 1;
jksoft 0:8c643bfe55b7 9 unsigned A : 1;
jksoft 0:8c643bfe55b7 10 unsigned B : 1;
jksoft 0:8c643bfe55b7 11 unsigned X : 1;
jksoft 0:8c643bfe55b7 12 unsigned L1 : 1;
jksoft 0:8c643bfe55b7 13 unsigned L2 : 1;
jksoft 0:8c643bfe55b7 14 unsigned R1 : 1;
jksoft 0:8c643bfe55b7 15 unsigned R2 : 1;
jksoft 0:8c643bfe55b7 16 unsigned START : 1;
jksoft 0:8c643bfe55b7 17 unsigned SERECT : 1;
jksoft 0:8c643bfe55b7 18 unsigned space : 2;
jksoft 0:8c643bfe55b7 19 unsigned LeftAnalogLR:8;
jksoft 0:8c643bfe55b7 20 unsigned LeftAnalogUD:8;
jksoft 0:8c643bfe55b7 21 unsigned RightAnalogLR:8;
jksoft 0:8c643bfe55b7 22 unsigned RightAnalogUD:8;
jksoft 0:8c643bfe55b7 23 unsigned AcceleX:8;
jksoft 0:8c643bfe55b7 24 unsigned AcceleY:8;
jksoft 0:8c643bfe55b7 25 unsigned AcceleZ:8;
jksoft 0:8c643bfe55b7 26 unsigned DEV_DIR:4;
jksoft 0:8c643bfe55b7 27 unsigned RIGHT_ANALOG:1;
jksoft 0:8c643bfe55b7 28 unsigned LEFT_ANALOG:1;
jksoft 0:8c643bfe55b7 29 unsigned ACCELE_SETTING:2;
jksoft 0:8c643bfe55b7 30 }status;
jksoft 0:8c643bfe55b7 31 unsigned char data[10];
jksoft 0:8c643bfe55b7 32 }RCBController;