My Spark Core and a sensor circuit is going to be boxed up and have only the light sensor and the temperature sensor exposed. I realized that if my Wifi Router password changes, then my Spark is going to hang and therefore I will need an exposed Mode Button as well. But the only way I can think of to have access to the mode button is to connect a wire to one of the mode button’s semi-exposed pads (the result is an ugly wire crawling on the spark)
So are there any alternatives to the mode button-press (Smart Config or clear Wifi Data) or at least a more elegant way to have access to the mode button; I’ll try summing up the possible alternatives
- Since the Mode Button is an interrupt pin, can I bind one of the analog or digital pins to the same interrupt service routine?
- Is there an already exposed pad for the mode button that I don’t know of?
- Lets assume the case where the router password has not changed yet and the Spark is working fine
- Any function call that is at my disposal to directly put the core into smart config (via serial, tcp or udp)? I’m assuming we can directly call the ISR here?
- Any other alternatives?