two input switches to control one servo: A little advice needed.

Holy crap, I wasn't expecting replies so fast! Thank you! I'm excited now :stuck_out_tongue:

Ok, I am building a large radio control truck. I am powering the drive motor of this truck with a SyRen 1x50 motor controller. This controller allows one servo input (from a standard, average Radio Control recieve) to control speed in both directions, and it allows a second servo input to adjust the top speed. A 50% input from the second servo will mean that you will only get 50% speed from the full range of travel from the first servo!

I want to add tilt switches or maybe an actual accelerometer to my truck so that if it is on a steep incline (this one is more useful for when going down hill, not up) it will automatically slow down, or if it is tipped to the side too far, it will automatically slow down.

Now that you know what my application is, I will take suggestions on what else i could use the microcontroller for in this project, because I would hate to spend $30 bucks just for a little tilt-sensing. I was thinking of using the microcontroller for adding LED lighting (headlights, tail lights, brake lights, turn signals, controlled from the throttle channel of the Rx) and maybe even MP3 playback..

Any ideas?

Mike, from DieCastoms.