This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
https://www.blockdit.com/pages/5dbb884217bcce4c1c05c070 | |
*/ | |
#define LED 13 | |
unsigned long time; | |
int Status_LED = 0; | |
void setup() | |
{ | |
Serial.begin(9600); | |
pinMode(LED,OUTPUT); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
https://www.blockdit.com/pages/5dbb884217bcce4c1c05c070 | |
*/ | |
#define LED 13 | |
void setup() | |
{ | |
pinMode(LED,OUTPUT); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define RXD2 16 | |
#define TXD2 17 | |
void setup() { | |
// Note the format for setting a serial port is as follows: Serial2.begin(baud-rate, protocol, RX pin, TX pin); | |
Serial.begin(115200); | |
Serial2.begin(9600, SERIAL_8N1, RXD2, TXD2); | |
Serial.println("Serial Txd is on pin: "+String(TX)); | |
Serial.println("Serial Rxd is on pin: "+String(RX)); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
Serial.begin(9600); | |
Serial1.begin(38400); | |
Serial2.begin(19200); | |
Serial3.begin(4800); | |
Serial.println("Hello Computer"); | |
Serial1.println("Hello Serial 1"); | |
Serial2.println("Hello Serial 2"); | |
Serial3.println("Hello Serial 3"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
คำอธิบายเสริม | |
https://www.blockdit.com/articles/5dbb9581b072d10d0647cc99# | |
*/ | |
#include <UIPEthernet.h> | |
#include <utility/logging.h> | |
EthernetClient ethClient; |