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

◆ defaultRxPin()

int autoresearch::defaultRxPin ( )
constexpr

Definition at line 33 of file AutoResearchPlatform.h.

33 {
34#if defined(FL_IS_STUB)
35 return 1; // Stub: same pin as TX — internal loopback
36#elif defined(FL_IS_ESP_32S3)
37 return 2; // ESP32-S3: jumper wire from GPIO 1
38#elif defined(FL_IS_ESP_32S2)
39 return 0;
40#elif defined(FL_IS_ESP_32C6)
41 return 0;
42#elif defined(FL_IS_ESP_32C3)
43 return 0;
44#elif defined(FL_IS_ESP_32P4)
45 return 6; // ESP32-P4: jumper wire from GPIO 5
46#elif defined(FL_IS_TEENSY_4X)
47 return 2; // Teensy 4.x: FlexPWM-capable pin, jumper wire from pin 1
48#else
49 return 0; // ESP32 (classic) and other variants
50#endif
51}