The latest verions of Raspberry Pi is much powerful. They comes with even 8GB of RAM. Here I'll explain how we can setup a web server on Raspberry Pi 4
Watch complete video on youtube
This file contains 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
#include <SPI.h> | |
#include <Ethernet.h> | |
#include <util.h> | |
#include "utility/w5100.h" | |
#include "utility/socket.h" | |
#define MAC 0x80, 0xEE, 0x73, 0x95, 0x81, 0x92 | |
static byte myMAC[] = {0x00, 0x1A, 0x4B, 0x38, 0x0C, 0x5C}; | |
static IPAddress myIP(192,168,15,44); | |
static byte targetIP[] = { 255, 255, 255, 255 }; |