Skip to content

Commit

Permalink
Merge pull request #83 from maxx-ukoo/esp32_readme_update
Browse files Browse the repository at this point in the history
Update README.md with ESP32
  • Loading branch information
ToniA authored Aug 6, 2019
2 parents 847eee0 + e85eb59 commit 0012313
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ As an alternative methods these are available:

Note that depending on your board, certain GPIO's might not be available. For example on NodeMCU, the usable GPIO's are D1 (GPIO5), D2 (GPIO4), D6 (GPIO12), D7 (GPIO13) and D3 (GPIO0).

### ESP32 support
This library also supports ESP32. Just change the IR send method from 'IRSenderPWM' to 'IRSenderESP32':

IRSenderESP32 irSender(2, 0); // IR led on ESP22 digital pin 2, 0 - ESP32 LEDC channel.

### Arduino example

![Schema](https://raw.github.com/ToniA/arduino-heatpumpir/master/arduino_irsender.png)
Expand Down

0 comments on commit 0012313

Please sign in to comment.