avdwebLibraries / avdweb_Switch

Switch library with longPress and doubleClick
http://www.avdweb.nl/arduino/hardware-interfacing/simple-switch-debouncer.html
GNU General Public License v3.0
45 stars 15 forks source link

Error compiling for board Generic ESP8266 Module. #12

Closed GeoffState closed 1 month ago

GeoffState commented 4 years ago

Environment created from scratch. USB pen on Windows 10. arduino-1.8.12 extracted from zip download. Create portable folder in arduino.exe folder. Add _https://arduino.esp8266.com/stable/package_esp8266com_index.json_ to preferences. Install ESP8266 Community v 2.6.3. Extract library from zip to F:\arduino-1.8.12\portable\sketchbook\libraries\avdweb_Switch. Load SwitchCallbackExample.ino. Compiles OK for Arduino Uno. Throws error when Board is set to Generic ESP8266 Module. Please also rename your "Examples" folder to "examples" so Arduino IDE adds it correctly to File/Examples menu.

avandalen commented 4 years ago

Dear Geoff Can you modify my project on GitHub for me?

Martin-Laclaustra commented 4 years ago

@GeoffState Could you show explicitly which is the error that occurs? I have 2.6.3 in an older (1.8.9) Arduino IDE in Linux and both examples compile without errors for the "Generic ESP8266 Module". Can you try installing the library from the Libraries Manager? (should not be different). Could you try the same thing in a live Linux distro, to isolate whether it is a Windows problem?

GeoffState commented 4 years ago

Dear Geoff Can you modify my project on GitHub for me?

Sorry for long delay. Yes I could do that. I will create a pull request.

GeoffState commented 4 years ago

@GeoffState Could you show explicitly which is the error that occurs? I have 2.6.3 in an older (1.8.9) Arduino IDE in Linux and both examples compile without errors for the "Generic ESP8266 Module". Can you try installing the library from the Libraries Manager? (should not be different). Could you try the same thing in a live Linux distro, to isolate whether it is a Windows problem?

I will look at these.

avandalen commented 4 years ago

I will give you the permission to edit the switch library at your own. Please tell me what I have to do ..

GeoffState commented 4 years ago

Thanks Albert

Try this https://github.com/avandalen/avdweb_Switch/settings/access with GeoffState as collaborator

Best Regards Geoff

On Tue, May 12, 2020 at 6:21 PM Albert van Dalen notifications@github.com wrote:

I will give you the permission to edit the switch library at your own. Please tell me what I have to do ..

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avandalen/avdweb_Switch/issues/12#issuecomment-627135241, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3QJDHO74GK3CZ6N4I43TLRRDTEZANCNFSM4MFHKK2A .

avandalen commented 4 years ago

I have done that now https://github.com/avandalen/avdweb_Switch/settings/access

From: Geoff Sent: Wednesday, May 13, 2020 12:06 AM To: avandalen/avdweb_Switch Cc: Albert van Dalen ; Comment Subject: Re: [avandalen/avdweb_Switch] Error compiling for board Generic ESP8266 Module. (#12)

Thanks Albert

Try this https://github.com/avandalen/avdweb_Switch/settings/access with GeoffState as collaborator

Best Regards Geoff

On Tue, May 12, 2020 at 6:21 PM Albert van Dalen notifications@github.com wrote:

I will give you the permission to edit the switch library at your own. Please tell me what I have to do ..

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avandalen/avdweb_Switch/issues/12#issuecomment-627135241, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3QJDHO74GK3CZ6N4I43TLRRDTEZANCNFSM4MFHKK2A .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

pReya commented 3 years ago

Did anyone figure this out, yet? Compilation error still exists, see also #14

nomakewan commented 2 months ago

Just as a note, this issue should be closed as the library now compiles just fine on the Generic ESP8266 Module.

boseji commented 1 month ago

Please update to the latest release. This issue has been resolved already.