Introduction: Arduino Flash Game Streamer
its a simple project that uses the a ethernet shield server to give a advanst web page with flash games on it.
Step 1: Thing You Will Need
well you will need the interwebs,
ethernet shield,
arduino,
arduino software,
webbrowser,
ethernet cable
ethernet shield,
arduino,
arduino software,
webbrowser,
ethernet cable
Step 2: The Code:::
you can download this code at the end:
load up the ethernet server example and delete the code for uploading the analog inputs.
then enter this:
client.println("<h1>Arduino streamer</h1>");
client.println("<title>Arduino streaming</title>");
client.println("<object width='550' height='400'>");
client.println("<param name='movie' value='http://www.freeonlinegames.com/exgames/dirtbike2/dirtbike2794724478.swf'>");
client.println("<embed src='http://www.freeonlinegames.com/exgames/dirtbike2/dirtbike2794724478.swf' width='1000' height='750'>");
client.println("</embed>");
client.println("</object>");
// output the value of each analog input pin
client.println("<body bgcolor='Teal'>");
client.println("");
client.println("made by cody chambers");
client.println("http://arduino.cc");
this will load the dirtbike 2 game as a examp
Step 3: To Change the Game Simple Change the Swf Address
src='http://www.freeonlinegames.com/exgames/dirtbike2/dirtbike2794724478.swf
click below to download the code
your all done, just configure the ip addres and its ready to use!!!
click below to download the code
your all done, just configure the ip addres and its ready to use!!!