Hello nedd a help for add 4 physical button

hello need a help for add 4 physical button
this is my code i use blynk +wifimanager
can you help me for add 4 switch’s physical

#define BLYNK_PRINT Serial
#include <FS.h>
#include <DNSServer.h>
#include <WiFiManager.h>
#include <ESP8266WebServer.h>
#include <BlynkSimpleEsp8266.h>
#include <ArduinoJson.h>

#define SET_PIN 0

There are many topics on this, you can use the search feature on the top right of the screen.
A quick search can help.

Here is a link. Please go through the discussion.

If you’re using an ESP8266/NodeMCU board then you have sufficient pins for 4 physical buttons, but if you want these to control things (like relays or LEDs) connected to the same board then there aren’t really sufficient pins available to do this properly.

Have a read of this:

Pete.

1 Like

first thanks for your replay
i’am use esp8266 12e . i want to put the physical button in the wifi manager code
can i use the physical button with wifi manager

So you want to use one physical button to trigger WiFiManager? (Which has nothing to do with Blynk).
What are the other three physical buttons for?

Pete.

thanks for your replay
i edit the code and 4 physical switch is work very good
thanks very much

Are you looking for an on demand portal to put in your credentials (SSID, PASS, AUTH) ? if so click on this link
@khoih has a good library for it with many examples. :point_down:

yes
thanks too much