DCCpp
This is the library version of a program for Arduino to control railroading DCC devices.
Comm.h
1 /**********************************************************************
2 
3 Comm.h
4 COPYRIGHT (c) 2013-2016 Gregg E. Berman
5 
6 Part of DCC++ BASE STATION for the Arduino
7 
8 **********************************************************************/
9 
10 #include "Config.h"
11 
12 #ifdef USE_ETHERNET // Ethernet Shield Card Selected
13 
14  #ifdef USE_ETHERNET_WIZNET_5100
15  #define COMM_SHIELD_NAME "ARDUINO-CC ETHERNET SHIELD (WIZNET 5100)"
16  #include <Ethernet.h> // built-in Arduino.cc library
17 
18  #elif defined(USE_ETHERNET_WIZNET_5500)
19  #define COMM_SHIELD_NAME "ARDUINO-ORG ETHERNET-2 SHIELD (WIZNET 5500)"
20  #include <Ethernet2.h> // https://github.com/arduino-org/Arduino
21 
22  #elif defined(USE_ETHERNET_WIZNET_5200)
23  #define COMM_SHIELD_NAME "SEEED STUDIO ETHERNET SHIELD (WIZNET 5200)"
24  #include <EthernetV2_0.h> // https://github.com/Seeed-Studio/Ethernet_Shield_W5200
25 
26  #elif defined(USE_ETHERNET_ENC28J60)
27  #define COMM_SHIELD_NAME "BASIC ETHERNET SHIELD (ENC28J60)"
28  #include <UIPEthernet.h> // https://github.com/ntruchsess/arduino_uip/tree/Arduino_1.5.x
29 
30  #endif
31 
32  extern EthernetServer DCCPP_INTERFACE;
33 #endif