Arduino Flash game streamer

details

This is a simple project that uses the an ethernet shield server and opens an advanced web page with flash games on it.

Parts

:  Interwebs, ethernet shield, arduino, arduino software, webbrowser, ethernet cable

Picture of thing you will need

Source code

Picture of 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

To change the game, simplychange the swf address

Picture of to change the game simple change the swf address
src=’http://www.freeonlinegames.com/exgames/dirtbike2/dirtbike2794724478.swf
click below to download the code, you’re all done, just configure the ip addres and its ready to use!!!

 

Source
http://www.instructables.com/id/Arduino-Flash-game-streamer/

COMMENTS

Please Login to comment
  Subscribe  
Notify of