In Arduino IDE you can begin with a simple sketch like LED blink. Go to File > Examples > 01.Basics > Blink. This sketch needs to be modified, because the SODAQ board doesn’t have a LED on pin 13, but has a LED on pin 6 instead. Pin 6 is normally used for switching power to the Switched row of Grove connectors, but for now we just use it because it has an LED too. Now if you look at the first line that has colored text (Should be line 10 if you load the example) you see “int led = 13;”. Change the number ‘13’ to ‘6’ and upload the sketch to the SODAQ board using the right settings mentioned above. (or just copy the code below:)
When programming the SODAQ board, always make sure that there is no bee module in the bee slot.
If a bee module is plugged in while programming the SODAQ board it may cause the programming to fail.
This is because USB connector and the bee module are using the same connections for communication.