<?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>Arduino: R-2R: Sine On You Crazy Diamond</title><link>/members-area/personalblogs/b/blog/posts/arduino-r-2r-sine-on-you-crazy-diamond</link><description>Part one is here: https://www.element14.com/community/people/jc2048/blog/2018/04/12/arduino-r-2r-experiment I was going to do some hardware next but got sidetracked into playing with software instead. Here&amp;#39;s a very well-known waveform being ...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Arduino: R-2R: Sine On You Crazy Diamond</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/arduino-r-2r-sine-on-you-crazy-diamond</link><pubDate>Sat, 14 Apr 2018 11:36:50 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b18da95f-a287-41b5-8856-bbb31623eedf</guid><dc:creator>jc2048</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;If anyone wants to use sineTable.c, here are the includes that went missing in the formatting:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;#include &amp;lt;conio.h&amp;gt;&lt;br /&gt;#include &amp;lt;string.h&amp;gt;&lt;br /&gt;#include &amp;lt;dos.h&amp;gt;&lt;br /&gt;#include &amp;lt;errno.h&amp;gt;&lt;br /&gt;#include &amp;lt;math.h&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;They might not all be needed (it&amp;#39;s a piece of code that&amp;#39;s been hacked about a lot over the years, so getting a bit messy now), but that doesn&amp;#39;t really matter for PC code.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I didn&amp;#39;t think to license it: it&amp;#39;s free to use in any way you want but without warranty or guarantee as to fitness for purpose. You don&amp;#39;t need to put my name on it or anything like that.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=4670&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Arduino: R-2R: Sine On You Crazy Diamond</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/arduino-r-2r-sine-on-you-crazy-diamond</link><pubDate>Sat, 14 Apr 2018 04:16:35 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b18da95f-a287-41b5-8856-bbb31623eedf</guid><dc:creator>dougw</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;Now I&amp;#39;m thinking - what kind of circuit would produce this concave square wave......&lt;/p&gt;&lt;p&gt;It might be one example where performing a Fourier transform would provide insight into the answer.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=4670&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Arduino: R-2R: Sine On You Crazy Diamond</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/arduino-r-2r-sine-on-you-crazy-diamond</link><pubDate>Sat, 14 Apr 2018 03:38:40 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b18da95f-a287-41b5-8856-bbb31623eedf</guid><dc:creator>genebren</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;You got to love math.&amp;nbsp; That sure is an interesting waveform.&lt;/p&gt;&lt;p&gt;Gene&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=4670&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Arduino: R-2R: Sine On You Crazy Diamond</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/arduino-r-2r-sine-on-you-crazy-diamond</link><pubDate>Sat, 14 Apr 2018 01:03:11 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b18da95f-a287-41b5-8856-bbb31623eedf</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;That&amp;#39;s really nice!!&lt;/p&gt;&lt;p&gt;I know it&amp;#39;s possibly not the use-case you&amp;#39;re probably aiming for, but I guess you could make some really great alert tones now if you wanted to, with ADSR, by scaling the amplitude in software.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=4670&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>