ESP12F.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #ifndef __ESP12f_H__
  2. #define __ESP12f_H__
  3. #include <ESP8266WiFi.h>
  4. #include <BlynkSimpleEsp8266.h>
  5. #include <WidgetRTC.h>
  6. /* **************************************************************
  7. * Structur
  8. ***************************************************************/
  9. typedef struct{
  10. uint8_t Max;
  11. uint8_t Pente;
  12. long HeureDem;
  13. long HeureArret;
  14. uint8_t Essai;
  15. }Led;
  16. /* **************************************************************
  17. * Variable Connection
  18. ***************************************************************/
  19. // Token identification
  20. char auth[] = "gFZjB9gVdfUf6FyVza7XeURM6nboWLmD";
  21. // Your WiFi credentials.
  22. char ssid[] = "Livebox-7C2C";
  23. char pass[] = "566C61F61F9C925C9F3D7D79E6";
  24. /* **************************************************************
  25. * Variable Global
  26. ***************************************************************/
  27. Led Blanc, Bleu, Uv, Chaud;
  28. BlynkTimer timer;
  29. WidgetRTC rtc;
  30. /* **************************************************************
  31. * Fonction Perso
  32. ***************************************************************/
  33. uint8_t transmit(uint8_t *in, uint8_t nbTr, uint8_t *out);
  34. void SyncRTC();
  35. #endif