Essai d'application Lycée Malraux NSI
Dependencies: BLE_API nRF51822 mbed-dev-bin
Diff: inc/types/MicroBitEvent.h
- Revision:
- 37:b624ae5e94a5
- Parent:
- 35:8ce23bc1af38
- Child:
- 49:88f03f3feff1
--- a/inc/types/MicroBitEvent.h Wed Jul 13 12:18:15 2016 +0100 +++ b/inc/types/MicroBitEvent.h Wed Jul 13 12:18:16 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.