     Serial.println(WiFi.gatewayIP());
 #endif
 
+    // Indicate that we have connected to Wi-Fi.
+    fill_solid(base_leds, BASE_COUNT, CRGB::Green);
+    fill_solid(brand_leds, BRAND_COUNT, CRGB::Green);
+    FastLED.show();
+    
     // Check connectivity.
 #ifdef DEBUG
     Serial.println("Checking connection: www.google.com:80");

#endif
    mqtt_wifi.stop();

    // Initialise the lighting strip.
    FastLED.addLeds<WS2812, BASE_PIN, GRB>(base_leds, BASE_COUNT);
    FastLED.addLeds<WS2812, BRAND_PIN_LEFT, GRB>(brand_leds, BRAND_COUNT);
    FastLED.addLeds<WS2812, BRAND_PIN_RIGHT, GRB>(brand_leds, BRAND_COUNT);
    fill_solid(base_leds, BASE_COUNT, CRGB(255, 255, 255));
    fill_solid(brand_leds, BRAND_COUNT, CRGB(255, 255, 255));
    fill_solid(brand_leds_p, BRAND_COUNT, CRGB(255, 255, 255));
    FastLED.show();

    // Initialise the brand lighting animation.
    brand_percent = 0;
    brand_function = random(BRAND_FUNCTIONS - 1);

    // Connect to the messaging server and subscribe.
#ifdef DEBUG

 * Embedded lighting controller for the DoES Liverpool radio tower.
 */

#include <SPI.h>
#include <WiFi.h>

#include <FastAnimation.h>
#include <FastLED.h>
#include <PubSubClient.h>

