- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I had attached snapshot of error I am getting in WICED studio, below are the instructions.
wiced_hal_gpio_set_pin_output(WICED_GPIO_PIN_LED_2,0);
wiced_rtos_delay_milliseconds(500,KEEP_THREAD_ACTIVE );
wiced_hal_gpio_set_pin_output(WICED_GPIO_PIN_LED_2,1);
wiced_rtos_delay_milliseconds(500,KEEP_THREAD_ACTIVE );
This program is to toggle LED using delay function.
Please help me to resolve same.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Nainesh,
Can you please confirm if you are using CYBT-343026 or not?
wiced_rtos_delay_milliseconds function is not exposed/ supported for 20706 . You may have to use timers for delay.
Please refer to gpio snip ( /20706-A2_Bluetooth/apps/snip/hal/gpio ) as reference for toggling LED .
Also please note, don't use while(1) loop inside Application_start.
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My WICED-SDK Version : Wiced_006.002.001.0002.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Nainesh,
Can you please confirm if you are using CYBT-343026 or not?
wiced_rtos_delay_milliseconds function is not exposed/ supported for 20706 . You may have to use timers for delay.
Please refer to gpio snip ( /20706-A2_Bluetooth/apps/snip/hal/gpio ) as reference for toggling LED .
Also please note, don't use while(1) loop inside Application_start.
Thanks,
Anjana