Skip to content

Commit 2bfa54c

Browse files
author
Michael Higgins
committed
update readme
reflect new default IO pins
1 parent ad3b5c9 commit 2bfa54c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -140,18 +140,19 @@ Raw Example
140140

141141
Multiple LED Setup
142142
--------------
143-
If you are setting up your ESP8266 IR Controller to handle multiple devices, for example in a home theater setup, and the IR receivers are in different directions, you may use the `out` parameter to transmit codes with different LEDs which can be arranged to face different directions. Simply wire additional LEDs to a different GPIO pin on the ESP8266 in a similar fashion to the default transmitting pin and set the corresponding pin to the `irsend1-4` objects created at the top of the blueprint. For example if you wired an additional LED to the GPIO0 pin and you wanted to send a signal via that LED instead of the primary, you would modify irsend2 in the blueprint to `IRsend irsend2(0)` corresponding to the GPIO0 pin. Then when sending your signal via the url simply add `&out=2` and the signal will be sent via irsend2 instead of the primary irsend1.
143+
If you are setting up your ESP8266 IR Controller to handle multiple devices, for example in a home theater setup, and the IR receivers are in different directions, you may use the `out` parameter to transmit codes with different LEDs which can be arranged to face different directions. Simply wire additional LEDs to a different GPIO pin on the ESP8266 in a similar fashion to the default transmitting pin and set the corresponding pin to the `irsend1-4` objects created at the top of the blueprint. For example if you wired an additional LED to the GPIO0 pin and you wanted to send a signal via that LED instead of the primary, you would modify irsend2 in the blueprint to `IRsend irsend2(0)` corresponding to the GPIO pin. Then when sending your signal via the url simply add `&out=2` and the signal will be sent via irsend2 instead of the primary irsend1.
144144

145145
Default mapping
146146
- irsend1: GPIO4
147-
- irsend2: GPIO0
147+
- irsend2: GPIO5
148148
- irsend3: GPIO12
149149
- irsend4: GPIO13
150-
- irrecv: GPIO5
150+
- irrecv: GPIO14
151+
- config: GPIO15
151152

152153
Force WiFi Reconfiguration
153154
---------------
154-
Set GPIO13 to ground for force a WiFi configuration reset
155+
Set GPIO15 to ground to force a WiFi configuration reset
155156

156157
Minimal Output
157158
---------------

0 commit comments

Comments
 (0)