How to print current or next state? #1547
-
How can I print all available parameters of common A/C state from IRsend.h?
I can print some of them like
But how can I do it for ac.next.mode? |
Beta Was this translation helpful? Give feedback.
Answered by
crankyoldgit
Aug 5, 2021
Replies: 1 comment
-
You will have to write code for it yourself. Serial.println(irutils::addModeToString(ac.next.mode, stdAc::opmode_t::kAuto, stdAc::opmode_t::kCool, stdAc::opmode_t::kHeat, stdAc::opmode_t::kDry, stdAc::opmode_t::kFan)); Note: Untested, not even compiled. If it doesn't work, you can work out how to fix it. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
crankyoldgit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You will have to write code for it yourself.
You can do something like:
Note: Untested, not even compiled. If it doesn't work, you can work out how to fix it.