This repository is for Bluetooth Asia 2018 developer training, peripheral session.
Fork of BluetoothAsiaPeripheral by
Revision 8:d3d0c0ac4ce9, committed 2018-07-31
- Comitter:
- krenbluetoothsig
- Date:
- Tue Jul 31 06:36:19 2018 +0000
- Parent:
- 7:243a19749fab
- Commit message:
- 1. CHG: animation control, 0x00 means stop,; 0x01 means start; 0x10 means slow; 0x11 means accelera
Changed in this revision
Animator.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 243a19749fab -r d3d0c0ac4ce9 Animator.h --- a/Animator.h Mon May 07 23:55:32 2018 +0000 +++ b/Animator.h Tue Jul 31 06:36:19 2018 +0000 @@ -36,10 +36,10 @@ #define ANIMATION_SPEED_DELTA 50 #define ANIMATION_CONTROL_EVENT 9100 +#define ANIMATION_CONTROL_STOP 0x00 #define ANIMATION_CONTROL_START 0x01 -#define ANIMATION_CONTROL_STOP 0x02 -#define ANIMATION_CONTROL_FASTER 0x03 -#define ANIMATION_CONTROL_SLOWER 0x04 +#define ANIMATION_CONTROL_SLOWER 0x10 +#define ANIMATION_CONTROL_FASTER 0x11 #define ANIMATION_TYPE_EVENT 9101 #define ANIMATION_TYPE_FLASH 0x01