<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>PWM [micro:bit]</title><link>/members-area/personalblogs/b/blog/posts/pwm-micro-bit</link><description>I was curious as to whether I could use the micro:bit to generate PWM [pulse-width modulation] signals. At first I thought I&amp;#39;d have to find out how to control the processor&amp;#39;s internal peripherals but it turned out that there was no need. Even the blo</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: PWM [micro:bit]</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/pwm-micro-bit</link><pubDate>Fri, 23 Sep 2016 11:50:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:db7c5ef0-88c1-4bb3-9884-34f6c8037e44</guid><dc:creator>jc2048</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Further to the experiment above, here&amp;#39;s code that steps through 1 to 5 intervals.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/470x280/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-db7c5ef0-88c1-4bb3-9884-34f6c8037e44/contentimage_5F00_182288.jpg:470:280]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;From the accumulated scope trace, you can see that the interval is actually 20uS [most of the time] and there&amp;#39;s a extra 3uS setup on the first one. Programmer&amp;#39;s Wonky Modulation?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/480x234/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-db7c5ef0-88c1-4bb3-9884-34f6c8037e44/contentimage_5F00_182289.png:480:234]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=2041&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>