MicroBit as BLE gamepad
Dependencies: BLE_API mbed-dev-bin nRF51822
Fork of microbit-dal by
Diff: inc/types/MicroBitEvent.h
- Revision:
- 32:ece16b5987dd
- Parent:
- 31:87789e55bac7
- Child:
- 35:8ce23bc1af38
diff -r 87789e55bac7 -r ece16b5987dd inc/types/MicroBitEvent.h --- a/inc/types/MicroBitEvent.h Wed Jul 13 12:18:10 2016 +0100 +++ b/inc/types/MicroBitEvent.h Wed Jul 13 12:18:11 2016 +0100 @@ -52,7 +52,7 @@ uint16_t source; // ID of the MicroBit Component that generated the event e.g. MICROBIT_ID_BUTTON_A. uint16_t value; // Component specific code indicating the cause of the event. - uint64_t timestamp; // Time at which the event was generated. us since power on. + uint32_t timestamp; // Time at which the event was generated. ms since power on. /** * Constructor.