# SBB station clock for the CYD ESP32-2432S028R
The program shows how to implement the famous SBB station clock with 
its unique stop-and-go second hand. The clock gets its time from the 
internet, so a Wi-Fi connection is required. 

The program attempts to connect to the local Wi-Fi network using the 
login credentials specified in the code. If this fails, the clock sets 
up the ***AutoConnectAP*** access point. Now connect your mobile 
device to this access point and open the web address 192.168.4.1 
in your browser. A list of nearby networks will be displayed. Select 
your router’s SSID from the list and then enter the corresponding password.

<img align="left" src="images/prompt_autoconnect.jpg">

Once the connection is established, the login credentials <br>are stored in 
the ESP32’s non-volatile memory. From now <br>on, the clock will 
automatically connect to the Wi-Fi network <br>whenever it is turned off 
and back on.
<br><br><br>

[![sbb-clock](images/sbb_clock.jpg)](https://Carlo47.github.io/CYD_SBB_Clock/demo.html)
Tap the screenshot to the left to see the stop-and-go behavior in a video.
