Menu
Cart

EFM32QUAD - GETTING TO BLINK IN COLOR

This tutorial will help you get set up and start using the EFM32QUAD processor board.

First you need to set up the Arduino IDE. To do this follow the instructions in Adding Engimusing Boards to the Arduino IDE and come back here when you are done.

This board has two 4 pin connectors used to power the board and serial ports

Next connect the board to a USB cable coming from your computer. The computer should recognize the board and install the correct drivers. Go to Tools->Port and select the port the module is on. On Windows computers this will be a comport like COM1. On Linux and MAC it will look like /dev/ttyUSB0. The number at the end may be different for you system. If you have trouble with this step google "Arduino FTDI" and you will find numerous tutorials on setting up the FTDI drivers.

So if all that is done you should have a screen that looks like:
IDE fresh set up

Next go to File->Examples->01.Basics->Blink and a new window should open containing the blink example.

In the upper left corner under the Edit menu is an arrow pointing to the right.

Click it.

You should see this in the window:
Blink download

You should see the green LED on the board blinking now. Big deal! It could have been blinking before you uploaded so we should try something that shows we have really changed it.

So go to Edit->Find... or Ctrl+F and put 13 in the Find: box and 14 in the Replace with: box and then click "Replace All".

You should see that every place there was a 13 in the sketch there is now a 14.

Click the arrow and compile and upload the modified sketch.

After the upload completes successfully you should see the blue LED blinking instead of the green one.

Just for fun now find and replace 14 with 15 everywhere in the sketch and upload it.

This time you should see the red LED blinking.

Well this gets you started. If you want you can create other variations like having the LEDs blink in sequence with different times. Or anything you want.