Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

26 řádky
575 B

  1. #pragma once
  2. #include <Arduino.h>
  3. #include <SIM808.Types.h>
  4. #include "Hardware.h"
  5. #include "Time2.h"
  6. #define GPS_POSITION_SIZE 128
  7. namespace gps {
  8. extern char lastPosition[GPS_POSITION_SIZE];
  9. extern SIM808_GPS_STATUS lastStatus;
  10. inline void powerOn() { hardware::sim808::gpsPowerOn(); }
  11. inline void powerOff() { hardware::sim808::gpsPowerOff(); }
  12. SIM808_GPS_STATUS acquireCurrentPosition(int32_t timeout);
  13. uint8_t getVelocity();
  14. float getDistanceFromPrevious();
  15. void getTime(tmElements_t &time);
  16. void preserveCurrentCoordinates();
  17. }