Browse Source

OK.

master
Your Name 5 years ago
parent
commit
97a9052a1b
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      ZMHW_Project_InfraredDiodeSensor.ino

+ 5
- 5
ZMHW_Project_InfraredDiodeSensor.ino View File

@ -70,17 +70,17 @@
/***************Ethernet ENC28J60***************/ /***************Ethernet ENC28J60***************/
//Mac must be unique for each sensor //Mac must be unique for each sensor
byte mac[] = { 0xD3, 0x5D, 0xBE, 0xEF, 0xEE, 0x50 };
byte mac[] = { 0xD3, 0x5D, 0xBE, 0xEF, 0xEE, 0x54 };
//Static IP of Arduino //Static IP of Arduino
byte ip[] = { 192, 168, 78, 50 };
byte ip[] = { 192, 168, 78, 54 };
//IP of ZM Server //IP of ZM Server
byte server[] = { 192, 168, 78, 123 }; byte server[] = { 192, 168, 78, 123 };
//ZM server IP to put in requests. //ZM server IP to put in requests.
String host="192.168.78.123"; String host="192.168.78.123";
char* monnum = "12"; //monitor number
char* monnum = "2"; //monitor number
char* LOCATIONOFSENSOR = "Bay 4 - Tool Room";
char* LOCATIONOFSENSOR = "Bay 3";
#define ZMTRIGGERPORT 6802 #define ZMTRIGGERPORT 6802
#define LISTENPORT 80 // (port 80 is default for HTTP) #define LISTENPORT 80 // (port 80 is default for HTTP)
@ -92,7 +92,7 @@ char* LOCATIONOFSENSOR = "Bay 4 - Tool Room";
//Digital //Digital
#define MODECTPIN 2
#define MODECTPIN 4
#define SPEAKERPIN 6 #define SPEAKERPIN 6
#define LEDPIN 9 #define LEDPIN 9

Loading…
Cancel
Save