[riot-devel] Blink Led

Peter Kietzmann peter.kietzmann at haw-hamburg.de
Wed Sep 30 10:36:09 CEST 2015

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.


Am 30.09.2015 um 05:33 schrieb mtz kbb:
> 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 
> <https://github.com/RIOT-OS/RIOT/tree/master/boards/ek-lm4f120xl>
> Best regards
> toza
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel

Peter Kietzmann

Hamburg University of Applied Sciences
Dept. Informatik, Internet Technologies Group
Berliner Tor 7, 20099 Hamburg, Germany
Fon: +49-40-42875-8426
Web: http://www.haw-hamburg.de/inet

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20150930/b4f803cc/attachment.html>

More information about the devel mailing list