Hi and looking for code examples for midi CC out

Hi guys,
Thanks for your responses.

Daniel, I did see todbot's blog. That's what got me started in the first place and I'm just about to give the midi drum thing a try as that's one of the primary applications I need for my board. I also want to combine sending continuous controller data with the note data so I'm looking for code examples I might be able to draw from. If I can't find anything I'll figure it out eventually but I know that some point in my surfing I came across a post by someone who had done this.

Johntron, those links are great. I saw the sams c primer book when shopping but went with the 21 days book because it started really simply and my programming has been limited to basic and lots of max/msp. I've been working through the chapters and I seem to be learning... at least when I'm looking at arduino code more of it seems to make sense. Thanks for the offer of the c primer book. Maybe I'll take you up on it. I thought learning C was the place to start learning how to code for arduino because the programming section of the arduino "playground" seems to imply that arduino code is C. When I looked at the syntax section of the reference link you gave it seems like the processing language is a bit different from Java (which I'd like to learn also its used in max now). So arduino code is Processing which is the same as C or not? Or is processing its thing??? I've been checking out code examples but they need to make some sense and also learning how to program relaxes me and helps me fall aslep.

-B