<p></p>
<p><b>@benpicco</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/13902#discussion_r431395221">tests/periph_timer_periodic/main.c</a>:</p>
<pre style='color:#555'>> +
+    *succeeded = false;
+    return "ERROR";
+}
+
+int main(void)
+{
+    mutex_t lock = MUTEX_INIT_LOCKED;
+    const unsigned timer_hz = 62500;
+    const unsigned steps = (250UL * timer_hz) / 1000; /* 250 ms */
+
+    printf("\nRunning Timer %d at %u Hz.\n", TIMER_CYCL, timer_hz);
+    printf("One counter cycle is %u ticks or 250 ms\n", steps);
+    puts("Will print 'tick' every second / every 4 cycles.\n");
+
+    timer_init(TIMER_CYCL, timer_hz, cb, &lock);
</pre>
<p>added</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/13902#discussion_r431395221">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYAML5YXZ6EKZRUYD43RTVTLVANCNFSM4MLZHZVA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYHRB6TJOM7TAYME3RDRTVTLVA5CNFSM4MLZHZVKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGODEA4TUA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/13902#discussion_r431395221",
"url": "https://github.com/RIOT-OS/RIOT/pull/13902#discussion_r431395221",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>