Datasheet
of the OLED display. A single 32-bit integer is sent to this function, where each 8-bit
component of the 4 byte IP address is seperated and printed out.
void setIPAddressVisible ( bool enable )
Enables or disables the IP address in the bottom 8 pixel status bar. Setting this to 'true'
enables the IP address.
void refreshIcons ( void )
Calling this function will redraw all of the status icons, and should be called if you have
made any changes to the values using the helper functions like .setRSSI, .setIPAddress,
etc.
Adafruit_FeatherOLED_WiFi Example
The following example shows how the WiFi helper class can be used with the Adafruit
WICED Feather (http://adafru.it/3056) to display basic information about the connection as
well as custom messages.
It should give you the following output, and any connection errors will be displayed in the
central message area:
This demo assumes you also have Adafruit_Sensor (http://adafru.it/aZm),
Adafruit_MQTT (http://adafru.it/fp6), and Adafruit_IO (http://adafru.it/fpd) libraries installed
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <Adafruit_FeatherOLED.h>
#include <Adafruit_FeatherOLED_WiFi.h>
#include <Adafruit_Sensor.h>
#include <adafruit_feather.h>
#include <adafruit_mqtt.h>
© Adafruit Industries https://learn.adafruit.com/adafruit-oled-featherwing Page 24 of 32










