Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify OnTick_t typedef for ESP8266 platform #16

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
//Requires NTP Client library from https://github.com/gmag11/NtpClient
/*
* TimeAlarm_ESP8266.ino
*
* This example calls two repetitive timers, one every
* 5 seconds and one every 22 seconds. A single shot
* timer is triggered after 58 seconds too. It finishes
* 5 senconds timer
*
* An alarm is triggered 1 minute after current time.
*
* At startup the time is syncd to NTP server, so
* it requires NTP Client library from
* https://github.com/gmag11/NtpClient
*
* It uses a class to initalize triggers
* to show how to use class methods as callbacks.
*
*/

#define YOUR_WIFI_SSID "Your_SSID"
#define YOUR_WIFI_SSID "Your_Pw"
Copy link

@pierangelof pierangelof Jul 25, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi gmag11,
thank you very much for your job.

The line 21 should be corrected as follows:

-#define YOUR_WIFI_SSID "Your_Pw"
+#define YOUR_WIFI_PASSWD "Your_Pw"


#include <TimeLib.h>
//#include "WifiConfig.h"
#include <NtpClientLib.h>
#include <ESP8266WiFi.h>
#include <TimeAlarms.h>
Expand Down