{"id":7014,"date":"2017-11-11T16:37:55","date_gmt":"2017-11-11T16:37:55","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=7014"},"modified":"2017-11-11T16:38:50","modified_gmt":"2017-11-11T16:38:50","slug":"arduino-timer","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=7014","title":{"rendered":"Arduino Timer"},"content":{"rendered":"<p><a href=\"https:\/\/www.pjrc.com\/teensy\/td_libs_TimerOne.html\">TimerOne &#038; TimerThree Libraries<\/a><br \/>\n<a href=\"https:\/\/github.com\/PaulStoffregen\/TimerOne\">github.com\/PaulStoffregen\/TimerOne<\/a>, TimerOne Library with optimization and expanded hardware support<br \/>\n<a href=\"https:\/\/github.com\/PaulStoffregen\/TimerThree\">github.com\/PaulStoffregen\/TimerThree<\/a>, TimerThree Library with optimization and expanded hardware support<br \/>\n<a href=\"https:\/\/playground.arduino.cc\/Code\/Timer1\">playground.arduino.cc\/Code\/Timer1<\/a> (alt?!)<\/p>\n<p><a href=\"https:\/\/www.heise.de\/developer\/artikel\/Timer-Counter-und-Interrupts-3273309.html\">Timer, Counter und Interrupts<\/a><\/p>\n<h4>World of Timers<\/h4>\n<p>Ein Arduino weist nicht nur einen einzelnen Timer sondern mehrere Timer auf. Kein Wunder, sind Timer doch essenzielle Grundkomponenten f\u00fcr verschiedene Aufgaben eines Mikrocontrollers.<\/p>\n<ul>\n<li>Timer 0 ( 8 Bit) Verwendet f\u00fcr Funktionen wie delay(), millis(), micros()<\/li>\n<li>Timer 1 ( 16 Bit) Verwendet von der Servo-Bibliothek<\/li>\n<li>Timer 2 ( 8 Bit) Verwendet von der Tone-Bibliothek<\/li>\n<li>Timer 3 (16 Bit) Nur Mega<\/li>\n<li>Timer 4 (16 Bit) Nur Mega<\/li>\n<li>Timer 5 (16 Bit) Nur Mega<\/li>\n<\/ul>\n<p>Die genannten Timer finden auch f\u00fcr die Umsetzung von &#8220;Pulse Width Modulation&#8221; Verwendung, wobei folgende Zuordnung herrscht.<\/p>\n<p>Beim Arduino:<\/p>\n<ul>\n<li>PWM Pins 5 und 6 kontrolliert durch Timer 0<\/li>\n<li>PWM Pins 9 und 10 kontrolliert durch Timer 1<\/li>\n<li>PWM Pins 3 und 11 kontrolliert durch Timer 2<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>TimerOne &#038; TimerThree Libraries github.com\/PaulStoffregen\/TimerOne, TimerOne Library with optimization and expanded hardware support github.com\/PaulStoffregen\/TimerThree, TimerThree Library with optimization and expanded hardware support playground.arduino.cc\/Code\/Timer1 (alt?!) Timer, Counter und Interrupts World of Timers Ein Arduino weist nicht nur einen einzelnen Timer sondern mehrere Timer auf. Kein Wunder, sind Timer doch essenzielle Grundkomponenten f\u00fcr verschiedene Aufgaben eines Mikrocontrollers. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7014","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/7014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7014"}],"version-history":[{"count":1,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/7014\/revisions"}],"predecessor-version":[{"id":7015,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/7014\/revisions\/7015"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}