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

Gunar Schorcht notifications at github.com
Thu Sep 12 19:27: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);

I have revised the application. It is working as expected.

-- 
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_r323860088
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190912/01aba72d/attachment.htm>


More information about the notifications mailing list