File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed 
examples/NetworkConfiguratorDemo Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,17 @@ void setup() {
6868  /*  Add the interfaces that are enabled for configuring the network*/ 
6969  NetworkConfigurator.addAgent (BLEAgent);
7070  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+ 
7182  /*  Add a custom callback function to be invoked every time the interrupt on reconfiguration pin is fired*/ 
7283  NetworkConfigurator.addReconfigurePinCallback (onResetPinInterrupt);
7384  /*  Start the network configurator */ 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments