mdhiggins / ESP8266-HTTP-IR-Blaster

ESP8266 Compatible IR Blaster that accepts HTTP commands for use with services like Amazon Echo
MIT License
968 stars 217 forks source link

'USECPERTICK' was not declared in this scope #330

Closed vilioren56 closed 2 years ago

vilioren56 commented 2 years ago

Hello everyone, tell me how to solve the problem, using the latest version of the library 2.8.1 'USECPERTICK' was not declared in this scope maybe it should be replaced with another variable?

mdhiggins commented 2 years ago

Fixed in #59 in like 2017, are you using a very old version of the blueprint?

vilioren56 commented 2 years ago

Arduino 1.6.9 and your latest libraries 2.8.1 Please help, a very acute problem

mdhiggins commented 2 years ago

Post the full error cause I don't think so, that variable is not referenced in the code anywhere anymore

vilioren56 commented 2 years ago

Я использую эту переменную, она у меня есть в коде. Вместо неё надо другую использовать?

vilioren56 commented 2 years ago

I use this variable, I have it in my code. Should I use another one instead?

mdhiggins commented 2 years ago

If you update to the latest version of the script on Github its no longer used

https://github.com/mdhiggins/ESP8266-HTTP-IR-Blaster/commit/d95ddff52ce666e9f3d34d3a7b72f6607b5bd77a

It was replaced with RAWTICK 4 years ago

Just update the script

vilioren56 commented 2 years ago

Instead of USECPERTICK I write RAWTICK?

mdhiggins commented 2 years ago

Sure why not. All zero instances