# Making an external led blink using freertos on eclipse ide

**URL:** <https://forums.freertos.org/t/making-an-external-led-blink-using-freertos-on-eclipse-ide/7144>\
**Category:** Kernel\
**Created:** [April 18, 2018, 11:22am UTC](https://forums.freertos.org/t/making-an-external-led-blink-using-freertos-on-eclipse-ide/7144 "2018-04-18T11:22:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [April 18, 2018, 11:22am UTC](https://forums.freertos.org/t/making-an-external-led-blink-using-freertos-on-eclipse-ide/7144/1 "2018-04-18T11:22:14Z")

</div>

**[ose](https://sourceforge.net/u/ose/)** wrote on [Wednesday, April 18, 2018](https://sourceforge.net/p/freertos/discussion/382005/thread/ffe6a011/#fdca):

Hi, I attached an external led to my arduino uno board. I was able to make it blink (it represented a task) using freertos on arduino ide.  
Now i want to implement it also using Freertos but on Eclipse ide but i dont know how to define the Pin which the led is connected to on the Arduino board.  
I have done some reserach online and also went through the Freertos hands on gudie pdf.

Could you please point me in the right direction?  
Thanks

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [April 18, 2018, 3:30pm UTC](https://forums.freertos.org/t/making-an-external-led-blink-using-freertos-on-eclipse-ide/7144/2 "2018-04-18T15:30:49Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Wednesday, April 18, 2018](https://sourceforge.net/p/freertos/discussion/382005/thread/ffe6a011/#fdca/0128):

This sounds like a hardware specific question rather than a FreeRTOS  
question - there isn’t anything in FreeRTOS that will set pins.

I would suggest:

1. Getting the schematic the hardware so you can see which GPIO pin the  
LED is connected to - if you don’t know already.
2. Download the libraries provided by Atmel/Microchip for the MCU you  
are using, assuming it is an AVR. That is the libraries provided by the  
MCU vendor, rather than the Arduino libraries.
3. Look through at the library for GPIO - there will probably be a  
configure function, then a set/clear/toggle function.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [April 19, 2018, 11:35am UTC](https://forums.freertos.org/t/making-an-external-led-blink-using-freertos-on-eclipse-ide/7144/3 "2018-04-19T11:35:27Z")

</div>

**[ose](https://sourceforge.net/u/ose/)** wrote on [Thursday, April 19, 2018](https://sourceforge.net/p/freertos/discussion/382005/thread/ffe6a011/#fdca/0128/af4a):

okay. thank you
