I posted a couple weeks back about my outdoor O Scale adventures, Arduino driven switch tracks, etc. I was gauging interest in things I've learned / developed. There was a general consensus in that thread that Arduinos are neat-o and sharing code would be very welcome.
I took some of the code I was using to decode / interface with the Legacy base (TMCC basic commands only) and turned that into a nice library that is easy to use. Now, it will help to know something about these micro-controllers and how to use libraries (there are tons of resources online). It's not hard, but I am assuming you can compile a sketch, hook up the three wires needed to interface with an RS-232 -> TTL converter (less than $10 online), and that you can figure out the ground and transmit wires from the Legacy Base (I didn't try this with the CAB-1 base).
If none of that scares you off and you want to receive TMCC decoded data, this is for you.
Download the zip and install the library, compile the example sketch, hook up your hardware, fire up the Serial Monitor, and watch the commands roll in as you press buttons on your remote.
You'll find the example and library well commented and pretty much everything you need to know is in there.
Enjoy!
-Randy
PS: I'm finishing up a 32" scratch-built turntable that uses a 100:1 stepper motor direct drive. Guess what? Arduino controlled using accessory commands on the Legacy Remote. This is going outside on my garden railroad! It's been much more work that I expected, but it's working just as I had planned and it looks amazing!