[riot-notifications] [RIOT-OS/RIOT] sys/arduino: Using Arduino libraries (#12180)

Gunar Schorcht notifications at github.com
Thu Sep 12 10:48:25 CEST 2019


gschorcht commented on this pull request.



> +#include <stdint.h>
+#include <TalkingLED.h>
+
+#include "board.h"
+
+TalkingLED tled;
+
+uint16_t sequence1[] = {500, 500, 500, 500, 0};
+uint16_t Sequence2[] = {250, 250, 250, 250, 0};
+
+int main(void)
+{
+    tled.begin(LED0_PIN);
+
+    while (1) {
+        tled.sequence(sequence1);

Indeed, after I read the [TalkingLED API](https://github.com/fabriziop/TalkingLED.git) again, it is clear that I have to do a bit more in applications loop. Let me refine the application a bit. Since I'm on vacation, it may take a day or two.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12180#discussion_r323624960
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190912/f215d3a5/attachment-0001.htm>


More information about the notifications mailing list