-
Notifications
You must be signed in to change notification settings - Fork 35
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
Cannot get the ESP code to compile #10
Comments
Hi, I am facing same error trying to verify esp8086 set files. I am afraid of button.ino code turned into bug because the Debounce library removed and changed some classes at Jan 25th and likely it misses the proper changes along of button. [2.0.0] 2017-01-25
Regards |
I managed to compile it with the older debounce library. |
I dont know what can cause 404 error. Each time you press external Button, do you call AP creation, createAP() ? Does the SSID sonoff_endMAC appear on your wifi list and you can authenticate to AP successfully ? |
The sonoff+Mac address appears. I can navigate to espurna.local and it asks
me to login. I use the standard admin and fibonacci login and that's as far
as i can get. The sonoff fails to serve any more web pages so i cannot
configure it with the correct WiFi info etc
…On 14 Mar 2017 6:35 pm, "juancreyes" ***@***.***> wrote:
I dont know what can cause 404 error. Each time you press external Button,
do you call AP creation, createAP() ? Does the SSID sonoff_endMAC appear on
your wifi list and you can authenticate to AP successfully ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACdJBtA0JYH9ouVK29a63Wd4XVI1lj7tks5rlt3lgaJpZM4MYdFl>
.
|
Sorry I did not get any notifications on this issue on my email... |
#12 will fix the issue with DebounceEvent |
Using the arduino IDE on windows 10.
Have all the dependencies included in the arduino library.
This is the error I get
C:\Users\live\Downloads\sonoffsc-master\esp8266\sonoffsc\src\sonoffsc\button.ino: In function 'void buttonLoop()':
button:25: error: 'class DebounceEvent' has no member named 'getEvent'
uint8_t event = _button.getEvent();
^
button:27: error: 'EVENT_DOUBLE_CLICK' was not declared in this scope
if (event == EVENT_DOUBLE_CLICK) createAP();
^
button:28: error: 'EVENT_LONG_CLICK' was not declared in this scope
if (event == EVENT_LONG_CLICK) ESP.reset();
^
exit status 1
'class DebounceEvent' has no member named 'getEvent'
Any ideas?
The text was updated successfully, but these errors were encountered: