Blink Led

Hello

Could you please give an example on how to blink led in RIOT, if you can help me translate some arduino examples to RIOT, that would be wonderful. I want to migrate my code to RIOT.

I am using ti launchpad ek-lm4f120xl

Best regards

toza

Hi Toza,

there are macros for LED usage. Compare . You just need to include the board.h from you application and call these macros to turn the on board LEDs on, off or toggle them. If you want blinking, you could periodically use “toggle” in a loop, with a delay (use xtimer) between two calls. Best, Peter