Professional Documents
Culture Documents
11 9
13 12 7 6
8
10
14
15
16
5
17
18
19
20 21 22
2
1
1.
Blink LED example
1. Open WICED Studio 6.1
2. Select WICED Platform 43xxx_Wi-Fi to set up WICED Studio
3. Click here to download the platform files. In the files, find “QuicksilverEval”
4. Right click “copy” or Ctrl+C to copy the “QuicksilverEval” folder
5. Navigate in the Project Explorer window (left side) and right click on the
“platforms” folder
a. Select “paste” or Ctrl+V to paste the folder you just copied
6. In the downloaded platform files from step 3, find “tiny_bootloader”
7. Right click “copy” or Ctrl+C to copy the “tiny_bootloader” folder
8. Go into WICED Studio
9. In the Project Explorer window (left side) expand the “apps” folder
10. Expand the “waf” folder
11. Right click on the “waf” folder
a. Select “paste” or Ctrl+V to paste the folder you just copied. This will
replace the contents of the tiny_bootloader folder.
12. In the downloaded platform files from step 3, locate “quicksilver”
13. Right click “copy” or Ctrl+C to copy the “quicksilver” folder
14. Navigate in the Project Explorer window (left side) and expand the “apps”
folder
15. Right click on the “demo” folder
a. Select “paste” or Ctrl+V to paste the folder you just copied
16. In the Project Explorer window (left side), right click on the “apps” folder
a. Select “New”
b. Select “Folder” and name it Quickprojects
17. Expand the “apps” folder
1.
18. Right click on the “Quickprojects” folder you just created
a. Select “New”
b. Select “Folder” and name it blink_LED
19. Expand the “Quickprojects” folder
20. Right click on the “blink_LED” folder you just created
a. Select “New”
b. Select “File” and name it blink_LED.c
21. Right click on the “blink_LED” folder
a. Select “New”
b. Select “File” and name it blink_LED.mk
22. Expand the “blink_LED” folder
23. Double click on the “blink_LED.mk” file you just created
a. Copy the code below into it (make sure it is EXACTLY the same)
NAME := App_Quickprojects_blink_LED
$(NAME)_SOURCES := blink_LED.c
#include "wiced.h"
void application_start()
{
wiced_init(); /*Initialize the WICED device*/
while(1)
{
/*Add Code to Blink the RED and GREEN LEDs here */
wiced_gpio_output_low(WICED_GPIO_28); //LED_Green
wiced_gpio_output_low(WICED_GPIO_29); //LED_RED
wiced_rtos_delay_milliseconds(250);
wiced_gpio_output_high(WICED_GPIO_28);
wiced_gpio_output_high(WICED_GPIO_29);
wiced_rtos_delay_milliseconds(250);
}
}
25. In the Make Target window (right side) click on the “43xxx_Wi-Fi” folder
a. Click on the make new target button (just up and right of the
folder)
b. Copy the text below into the “Target name” box
Quickprojects.blink_LED-QuicksilverEval download run
c. (make sure it is EXACTLY the same) Click “OK”
26. Double click on the target you just made listed as “Quickproject.blink_LED-
QuicksilverEval download run” and watch your project compile, build and
program to the board in the Console window (bottom)
27. Watch the Red and Green LEDs blinking!
If you have any issues go back through and make sure you followed
instructions exactly as the names of the files are required to be correct.
Matthew comment: can also include a link to www.arrow.com/quicksilver at the end here for additional
Quicksilver content
1.