The shield includes 4 programmable buttons, labeled "A" to "D", and a reset button. These buttons have been programmed show different weather displays. When first booting up the device, the display shows the current and forecast weather. You can also view this display by pressing the "A" or reset button. Button "B" shows the current weather conditions, and button "C" shows the current lunar phase and sunrise and sunset times for the day. The "D" button will retrieve the latest weather data from the Internet and display it using the last display mode. This is particularly useful if you have a long update interval and you want to update the display with the latest weather data.

adafruit_metro_weather5.jpg
Use the buttons to display different weather views.

Status LED

The Metro M4 Express Airlift also comes with a single NeoPixel. This project uses the NeoPixel as a project status indicator.

blue NeoPixel status means the sketch is currently accessing the Internet, either connecting to the WiFi hotspot or grabbing the date and time.

green NeoPixel status means the sketch is currently updating the display and will turn off when it is completed. This can take a few seconds since ePaper displays are not very speedy at refreshing their screens.

red NeoPixel status means there is a network communication issue. Pressing the buttons will have no effect if the NeoPixel is showing one of these status colors. Wait for the NeoPixel to turn off before pressing one of the buttons. 

adafruit_metro_weather4.jpg
The NeoPixel acts as a status indicator. Green shown here means the display is being updated.
adafruit_metro_weather1.jpg
Pressing button A or booting the device displays the current and forecast weather.
adafruit_metro_weather2.jpg
Pressing button B shows the current weather conditions.
adafruit_metro_weather3.jpg
Pressing button C shows the current moon phase and sunrise and sunset times.
This guide was first published on Jun 12, 2019. It was last updated on Jun 12, 2019. This page (Use) was last updated on Nov 15, 2019.