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

Kees Bakker notifications at github.com
Wed Sep 11 22:46:50 CEST 2019


keestux 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);

Missing delay ???

-- 
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#pullrequestreview-287063276
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190911/6554aa5f/attachment-0001.htm>


More information about the notifications mailing list