<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sawtooth Waveform on Bald Engineer</title><link>https://www.baldengineer.com/tag/sawtooth-waveform</link><description>Recent content in Sawtooth Waveform on Bald Engineer</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 05 Apr 2016 23:25:06 +0000</lastBuildDate><atom:link href="https://www.baldengineer.com/tag/sawtooth-waveform/index.xml" rel="self" type="application/rss+xml"/><item><title>Sawtooth waveform with the Arduino Due's Built-In DAC</title><link>https://www.baldengineer.com/sawtooth-waveform-with-the-arduino-dues-built-in-dac.html</link><pubDate>Fri, 08 Feb 2013 00:36:18 +0000</pubDate><guid isPermaLink="false">https://www.baldengineer.com/?p=1533</guid><description>Users of the ATmega328 based Arduino boards will recognize that the analogWrite() function doesn’t actually do anything analog. It just sets the duty cycle of a pulse width modulated (PWM) signal. The (new) Arduino Due board, which I have had limited time to play with, actually sports two Analog DAC channels. Using a very simple for() loop, it is possible to generate a sawtooth waveform using these channels.<p><img src="https://www.baldengineer.com/wp-content/uploads/2012/09/sawtooth-banner.png" alt="Sawtooth waveform with the Arduino Due&amp;#39;s Built-In DAC"/></p></description></item></channel></rss>