Step 8: Testing

Picture of Testing
We're ready so lets start testing.
Open a terminal window and if you have installed MAMP in the default location type:

/Applications/MAMP/bin/php5/bin/php /Applications/MAMP/htdocs/Candygrabber/socketShell.php

it should say something like:

1 socket bound to
1 listening...

Start the NO-IP.ORG dynamic updater. Plug the USB cable connected to arduino into the computer and then open Tinker Proxy. Select your network port number(should be 5333), the serial port and the speed(set it to 9600), and then click "Start".
If everything went ok start your AIR app.
If the AIR app establish all three connections you're done. Now you can launch your favorite browser and browse to the Client flash file. In my case it is www.pimedius.com/Candygrabber/ as I'm hosting it online.
Remove these adsRemove these ads by Signing Up