dchristl / esp32_nat_router_extended

a simple ESP32 NAT Router with some additional features
282 stars 51 forks source link

Neopixel RGB #113

Open ErfanDL opened 5 months ago

ErfanDL commented 5 months ago

Hello. It would be great if you add RGB neopixel feature because some boards only have neopixel RGB. also possible to select the GPIO specific to the neopixel pin in the settings.

thanks.

dchristl commented 5 months ago

Hello, I'm sorry, but I can't really achieve that. There are numerous boards with different configurations, and it would be a nightmare to support them all. I prefer to focus on the core functionality and expand on that. Personally, I don't see much value in having lighting on a router. However, feel free to branch and expand it if you'd like.

AILIFE4798 commented 5 months ago

what is the default gpio for normal led and yes because every board use different gpio can we configure it in settings which gpio to use

dchristl commented 5 months ago

The default GPIO is 2 for the LED of the most dev-boards. But if you say Neopixel, I think there is a lot more to do than just change the GPIO. This is not a normal LED and needs a controller. Changing the GPIO will not have any effect I think

AILIFE4798 commented 5 months ago

my dev board have normal led on gpio 22 and ofcourse it didnt work idk where can i set it

dchristl commented 5 months ago

idk where can i set it

As I mentioned before, there is no option for that, and even if there were one, the Neopixels wouldn't work because they are controlled differently than a regular LED.

AILIFE4798 commented 5 months ago

i said my dev board have normal led not neopixel,just at pin22 not pin2,if theres no place to set it its ok i can just connect another led to pin2, i just dont know which pin you used before