ose wrote on Wednesday, April 18, 2018:
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?
rtel wrote on Wednesday, April 18, 2018:
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:
- Getting the schematic the hardware so you can see which GPIO pin the
LED is connected to - if you don’t know already.
- 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.
- Look through at the library for GPIO - there will probably be a
configure function, then a set/clear/toggle function.
ose wrote on Thursday, April 19, 2018:
okay. thank you