MicroBit as BLE gamepad
Dependencies: BLE_API mbed-dev-bin nRF51822
Fork of microbit-dal by
Diff: inc/types/MicroBitEvent.h
- Revision:
- 49:88f03f3feff1
- Parent:
- 37:b624ae5e94a5
--- a/inc/types/MicroBitEvent.h Wed Jul 13 12:18:27 2016 +0100 +++ b/inc/types/MicroBitEvent.h Wed Jul 13 12:18:28 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. - uint32_t timestamp; // Time at which the event was generated. ms since power on. + uint64_t timestamp; // Time at which the event was generated. us since power on. /** * Constructor.