Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ESP32と赤外線LEDを用いて エアコンを遠隔操作する

Walnuts
August 09, 2023
230

ESP32と赤外線LEDを用いて エアコンを遠隔操作する

Walnuts

August 09, 2023
Tweet

Transcript

  1. • void loop() { if (irrecv.decode(&results)) { if (results.overflow){ Serial.printf(D_WARN_BUFFERFULL

    "¥n"); } Serial.print(resultToHumanReadableBasic(&results)); String description = IRAcUtils::resultAcToString(&results); if (description.length()){ Serial.println(D_STR_MESGDESC ": " + description); } Serial.println(); } }