Need to find code for msp430 launchpad

this is my fisrt time using launchpad but I've used others microcontrollers before as pic16, pic18, or arduino.

I'm trying to read data from an ultrasonic sensor ping parallax and see it on the computer using USB and also I want to send it using SPI to a transceiver nordic nrf24l01 and in the other transceiver I allready got an arduino.

The full project is a quadcopter that read the distance when it is close to the ground and also I want to use automatic control to keep it in an specific distance no mather what, thanks for the help.

So basicly I'm looking for some example code por launchpad msp430