   setSyncInterval(300);
 
   Serial.println("Setting up SPI display");
-  ht1632c_init(HT1632_CMD_8PMOS);
-  ht1632c_clear();
-  ht1632c_pwm(15);
-  ht1632c_sendframe();
+  HT1632.begin(HT1632_CS, HT1632_CLK, HT1632_MOSI);
+  HT1632.clear();
+  HT1632.setPixel(0,7); // ':' on time display
+  HT1632.setPixel(20,7); // ':' on time display
 }
 
 time_t prevDisplay = 0; // when the digital clock was displayed

#include <WiFiUdp.h>
#include <ArduinoOTA.h>

#include "ht1632c.h"

/// framebuffer
static uint8_t** ht1632c_framebuffer = 0;
static uint8_t ht1632c_framebuffer_len = 96;

const char* ssid = "********";
const char* password = "********";

// NTP Servers:
static const char ntpServerName[] = "europe.pool.ntp.org";

  Udp.write(packetBuffer, NTP_PACKET_SIZE);
  Udp.endPacket();
}
