From openCanSat wiki
If you followed Software installation and Hardware assembly your openCanSat kit should be now up and running and connected to your computer and you should already have imported the openCanSat Arduino library.
Uploading the sample code
- Fire up the Arduino IDE
- Select the port your kit is connected to (navigate to Tools > Port > COMXX(Arduino M0))
- Open the example (navigate to File > Examples > openCanSat-2.0-library > 1-Primary-mission > CanSat-Lite)
- Click the 'upload' button in the upper left corner; this will compile and upload the code to the kit