You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also in ESP32 it seems c++ compiler is different from ESP8266 because constexpr (std::is_same_v<T, float>) couldn't pass and now I have to revise the code to (std::is_same<T, float>::value), not including finding way to resolve Ticker functional in class method.
I am not so sure if I miss something or it's normal.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have just recently migrated codes in ESP8266 to ESP32 where Ticker is used quite extensively. I found that codes get errors. For instance, https://github.com/esp8266/Arduino/blob/master/libraries/Ticker/examples/TickerFunctional/TickerFunctional.ino which works fine in ESP8266 becomes error.
Also in ESP32 it seems c++ compiler is different from ESP8266 because
constexpr (std::is_same_v<T, float>)
couldn't pass and now I have to revise the code to(std::is_same<T, float>::value)
, not including finding way to resolve Ticker functional in class method.I am not so sure if I miss something or it's normal.
Beta Was this translation helpful? Give feedback.
All reactions