Mebm  1.0.0
 All Classes Files Functions Variables Macros Pages
mebm_tut_0.ino

Tutorial number 0: Setting up the ethernet card with a statically allocated IP address.

#include <SPI.h>
#include <Ethernet.h>
byte mac[] = { 0x90, 0xA2, 0xDA, 0x0D, 0x59, 0x20 };
IPAddress poeIP ( 192,168,1,101 ) ;
void setup() {
Ethernet.begin(mac, poeIP);
}
void loop() {
}