Hi, iv'e been trying to make a few modifications to the Official Arduino Robot, my first job was to get the runaway robot sketch working with a PING ultrasonic distance sensor as opposed to the maxbotix advised in the sketch, i managed to do this successfully and now I'm wanting to add a few LED's onto the robot which indicate when its too close to an object and when it isn't.
My aim is a green LED to be lit when the robot is object free, i then want another two red LED's to blink when the robot is turning, i seem to have been modifying the code for days now and I'm just getting no where. Does anyone have any suggestions on how to incorporate a multiple LED blink sketch into the runaway robot sketch?
Im currently using TKD1 for the green LED and TKD0/TKD3 for the red LED's.
Thanks