FastLED 3.9.15
Loading...
Searching...
No Matches

◆ defaultTxPin()

int autoresearch::defaultTxPin ( )
constexpr

Definition at line 12 of file AutoResearchPlatform.h.

12 {
13#if defined(FL_IS_STUB)
14 return 1; // Stub: TX and RX same pin — NativeRxDevice monitors TX output directly
15#elif defined(FL_IS_ESP_32S3)
16 return 1; // ESP32-S3: Connect GPIO 1 (TX) to GPIO 2 (RX) with jumper wire
17#elif defined(FL_IS_ESP_32S2)
18 return 1; // ESP32-S2
19#elif defined(FL_IS_ESP_32C6)
20 return 1; // ESP32-C6 (RISC-V)
21#elif defined(FL_IS_ESP_32C3)
22 return 1; // ESP32-C3 (RISC-V)
23#elif defined(FL_IS_ESP_32P4)
24 return 5; // ESP32-P4: Connect GPIO 5 (TX) to GPIO 6 (RX) with jumper wire
25#elif defined(FL_IS_TEENSY_4X)
26 return 1; // Teensy 4.x: any GPIO works for TX
27#else
28 return 1; // ESP32 (classic) and other variants
29#endif
30}