How to use RS485/ RS232 / I2C cable conect (using UIPEthernet library)

How to use RS485/ RS232 / I2C cable conect (using UIPEthernet library)

Using RS485 / RS 232 / I2C cable connect you can include diferents libraries.

UIPEthernet library.

...
#include "SPI.h"
#include "UIPEthernet.h"
byte mac[] = {   0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
...
void setup() {
...
if (Ethernet.begin(mac) != 0) {
// All OK!!!
}
...
 }
Comments are closed.