bekant icon indicating copy to clipboard operation
bekant copied to clipboard

Compiling error for esp8266

Open rhannink opened this issue 3 years ago • 3 comments

Hallo,

Great project, I'd like to automate my bekent desk with your project. Compiling the code for an Arduino Uno works fine, but compiling it for esp8266 with the webserver results in:

bekant:68:15: error: 'class aREST_UI' has no member named 'buttonCallback'
   return rest.buttonCallback(answer);
               ^
/Users/remco/Code/Arduino/bekant/bekant.ino: In function 'void setup()':
bekant:87:8: error: 'class aREST_UI' has no member named 'buttonFunction'
   rest.buttonFunction("Up", &up);
        ^
bekant:88:8: error: 'class aREST_UI' has no member named 'buttonFunction'
   rest.buttonFunction("Down", &down);
        ^
exit status 1
'class aREST_UI' has no member named 'buttonCallback'

I have aRest library version 2.9.1 and aREST_UI library version 1.1.1 installed.

And idea what i might do wrong?

Gr. Remco

rhannink avatar May 03 '21 08:05 rhannink