Skip to content

Commit dd003a9

Browse files
author
Tim Essig
committed
Finised port of EtherCard, moved all files from .c to .cpp
1 parent ab2bd44 commit dd003a9

26 files changed

+4045
-1110
lines changed

EtherCard.cpp

Lines changed: 436 additions & 0 deletions
Large diffs are not rendered by default.

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,12 @@ OBJDIR = obj
7878

7979

8080
# List C source files here. (C dependencies are automatically generated.)
81-
SRC = $(TARGET).c display.c enc28j60.c dmx.c artnet.c udp.c
81+
SRC =
8282

8383

84-
# List C++ source files here. (C dependencies are automatically generated.)
85-
CPPSRC =
84+
# List C++ source files here. (C madependencies are automatically generated.)
85+
CPPSRC = $(TARGET).cpp display.cpp dmx.cpp timer.cpp artnet.cpp EtherCard.cpp enc28j60.cpp tcpip.cpp dhcp.cpp dns.cpp udpserver.cpp webutil.cpp
86+
8687

8788

8889
# List Assembler source files here.

artnet.c renamed to artnet.cpp

File renamed without changes.

artnet.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33

44
#include <avr/io.h>
55

6+
// Port to listen on
7+
#define UDP_PORT_ARTNET 6454 /* (0x1936) */
8+
// Port to reply on
9+
#define UDP_PORT_ARTNET_REPLY (UDP_PORT_ARTNET + 1)
10+
611

712
extern uint8_t getUniverseFPS(uint8_t universe);
813

0 commit comments

Comments
 (0)