Created
May 14, 2012 15:32
-
-
Save jellea/2694597 to your computer and use it in GitHub Desktop.
Mac address trolling
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> | |
int min = 0; | |
int max = 255; | |
void setup(){ | |
} | |
void loop(){ | |
byte mac[] = {random(min, max), random(min, max), random(min, max), random(min, max), random(min, max), random(min, max) }; | |
Ethernet.begin(mac); | |
delay(2000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment