Skip to content

Commit 9dbe588

Browse files
fhirschmannclaude
andcommitted
feat(ir): enable IR remote control on the complete board
Uncomment IR_CONTROL_ENABLE in the feature-flag block of settings.h so the infrared receiver support is built in. On the complete board the receiver data line is GPIO 5 (IRLED_PIN, defined in settings-complete.h); wire a 38 kHz receiver (VS1838B / TSOP38238) with OUT->GPIO5, GND->GND, VS->3V3. Kept in the tracked settings.h (not settings-override.h, which is gitignored and would be dropped on the next OTA update) so the feature survives OTA. The default RC_* key codes still target the upstream sample remote and may need adjusting to the actual remote (read them from the serial console). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent f845fb1 commit 9dbe588

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/settings.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
//#define PLAY_LAST_RFID_AFTER_REBOOT // When restarting ESPuino, the last RFID that was active before, is recalled and played
5454
#define USEROTARY_ENABLE // If rotary-encoder is used (don't forget to review WAKEUP_BUTTON if you disable this feature!)
5555
#define BLUETOOTH_ENABLE // If enabled and bluetooth-mode is active, you can stream to your ESPuino or to a headset via bluetooth (a2dp-sink & a2dp-source). Note: This feature consumes a lot of resources and the available flash/ram might not be sufficient.
56-
//#define IR_CONTROL_ENABLE // Enables remote control (https://forum.espuino.de/t/neues-feature-fernsteuerung-per-infrarot-fernbedienung/265)
56+
#define IR_CONTROL_ENABLE // Enables remote control (https://forum.espuino.de/t/neues-feature-fernsteuerung-per-infrarot-fernbedienung/265)
5757
//#define PAUSE_WHEN_RFID_REMOVED // Playback starts when card is applied and pauses automatically, when card is removed (https://forum.espuino.de/t/neues-feature-pausieren-wenn-rfid-karte-entfernt-wurde/541)
5858
//#define DONT_ACCEPT_SAME_RFID_TWICE // RFID-reader doesn't accept the same RFID-tag twice in a row (unless it's a modification-card or RFID-tag is unknown in NVS). Flag will be ignored silently if PAUSE_WHEN_RFID_REMOVED is active. (https://forum.espuino.de/t/neues-feature-dont-accept-same-rfid-twice/1247)
5959
//#define HALLEFFECT_SENSOR_ENABLE // Support for hallsensor. For fine-tuning please adjust HallEffectSensor.h Please note: only user-support provided (https://forum.espuino.de/t/magnetische-hockey-tags/1449/35)

0 commit comments

Comments
 (0)