File tree 1 file changed +11
-0
lines changed
examples/NetworkConfiguratorDemo
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,17 @@ void setup() {
68
68
/* Add the interfaces that are enabled for configuring the network*/
69
69
NetworkConfigurator.addAgent (BLEAgent);
70
70
NetworkConfigurator.addAgent (SerialAgent);
71
+
72
+ // Uncomment this for disabling the reconfiguration pin and the reconfiguration procedure
73
+ // NetworkConfigurator.setReconfigurePin(DISABLE_PIN);
74
+
75
+ /* Uncomment and specify your preferred pin for changing the default reconfiguration pin
76
+ * The pin must be in the list of digital pins usable for interrupts.
77
+ * Please refer to the Arduino documentation for more details:
78
+ * https://docs.arduino.cc/language-reference/en/functions/external-interrupts/attachInterrupt/
79
+ */
80
+ // NetworkConfigurator.setReconfigurePin(your_pin);
81
+
71
82
/* Add a custom callback function to be invoked every time the interrupt on reconfiguration pin is fired*/
72
83
NetworkConfigurator.addReconfigurePinCallback (onResetPinInterrupt);
73
84
/* Start the network configurator */
You can’t perform that action at this time.
0 commit comments