#include <hmi2.h>

Hmi2 hmi2;

// Enter a MAC address and IP address for your controller below.
// The IP address, gateway and subnet will be dependent on your local network:
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
IPAddress ip(192,168,1,70);
IPAddress gateway(192,168,1,254);
IPAddress subnet(255,255,255,0);

IPAddress server(192,168,1,66); //Server IP

void setup() {
  // put your setup code here, to run once:
  Ethernet.begin(mac,ip,gateway,subnet);

  hmi2.init(server, 1);
}

void loop() {
  // put your main code here, to run repeatedly:

  hmi2.update();
}
