Editing networked lamp code

Hi everyone,

Im trying to edit the networked lamp coding from the getting started with arduino book so that instead of controlling three leds with the arduino and processing codes I would like to control one servo that moves to different positions depending on what the inputs say.

I have used the sweep code for the servo motor and edited it so that it does the movements I wish it to do and is controlled by a push button with if and else statements just now, but i want to replace the push button and for it to be controlled by the rss feed from the processing program.

Could anyone help?

thanks Callum