Cena: US $4.60 ~ 98,-Kč
eBay
Knihovna
https://github.com/jcw/ethercard
https://github.com/ntruchsess/arduino_uip (Library Manager UIPEthernet)
https://github.com/muanis/arduino-projects
Sketch
Knihovna
https://github.com/jcw/ethercard
https://github.com/ntruchsess/arduino_uip (Library Manager UIPEthernet)
https://github.com/muanis/arduino-projects
Sketch
#include "etherShield.h"
#include "ETHER_28J60.h"
static uint8_t mac[6] = {0x54, 0x55, 0x58, 0x10, 0x00, 0x24};
static uint8_t ip[4] = {192, 168, 0, 16};
static uint16_t port = 80;
ETHER_28J60 ethernet;
void setup()
{
ethernet.setup(mac, ip, port);
}
void loop()
{
if (ethernet.serviceRequest())
{
ethernet.print("<H1>Ahoj světe</H1>");
ethernet.respond();
}
}