Skip to content

Commit

Permalink
Updated IP examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Georgi Yankov committed Dec 19, 2016
1 parent 91f6e60 commit 84ef6f0
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
Binary file modified ArduinoLibs.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ static uint8_t mac[] = {
char buffer[18];

void setup() {
Serial.begin(9600);
Serial.begin(115200);
Serial.println("\n- - - - - - - -\nSerial Started (ConfigMACAddress)\n");

// 10-16: Arduino MAC address (6+1 byte)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static uint8_t videohubip[] = {
char buffer[18];

void setup() {
Serial.begin(9600);
Serial.begin(115200);
Serial.println("\n- - - - - - - -\nSerial Started (ConfigEthernetAddresses - EXTENDED)\n");

// Set these random values so this initialization is only run once!
Expand Down
20 changes: 10 additions & 10 deletions ArduinoLibs/ATEM/examples/ConfigIPAddresses/ConfigIPAddresses.ino
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ static uint8_t atemip[] = {



// No-cost stream operator as described at
// http://arduiniana.org/libraries/streaming/
template<class T>
inline Print &operator <<(Print &obj, T arg)
{
obj.print(arg);
return obj;
}

//// No-cost stream operator as described at
//// http://arduiniana.org/libraries/streaming/
//template<class T>
//inline Print &operator <<(Print &obj, T arg)
//{
// obj.print(arg);
// return obj;
//}

#include<Streaming.h>

char buffer[18];

void setup() {
Serial.begin(9600);
Serial.begin(115200);
Serial.println("\n- - - - - - - -\nSerial Started (ConfigIPAddresses)\n");

// Set these random values so this initialization is only run once!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ int calibrationCoordinatesY[5];

// No-cost stream operator as described at
// http://arduiniana.org/libraries/streaming/
template<class T>
inline Print &operator <<(Print &obj, T arg)
{
obj.print(arg);
return obj;
}

//template<class T>
//inline Print &operator <<(Print &obj, T arg)
//{
// obj.print(arg);
// return obj;
//}

#include<Streaming.h>

char buffer[18];
uint8_t checksumByte;

void setup() {

// Start the Ethernet, Serial (debugging) and UDP:
Serial.begin(9600);
Serial.begin(115200);
Serial << F("\n- - - - - - - -\nSerial Started\n");


Expand Down

0 comments on commit 84ef6f0

Please sign in to comment.