Skip to content

Commit

Permalink
Better documentation VULEDs documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Dec 9, 2019
1 parent fe082c7 commit 0cbef22
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/Doxygen/d9/df2/4_8VULEDs_8ino-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,15 @@ <h2><a class="anchor" id="autotoc_md103"></a>
<li>SS: 74HC595 ST_CP</li>
<li>MOSI: 74HC595 DS</li>
<li>SCK: 74HC595 SH_CP</li>
<li>A0: Push button (to ground, internal pull-up resistor will be used)</li>
</ul>
<p>Connect an LED (and series resistor) between each of the first 12 outputs of the shift registers and ground.</p>
<p>Remember to connect the enable pin of the shift register to ground and the master reset pin to Vcc in order to enable it. <br />
</p>
<h2><a class="anchor" id="autotoc_md104"></a>
Behavior</h2>
<p>The LEDs display the level of the first track in your DAW.</p>
<p>The LEDs display the level of the first track in your DAW. <br />
When the push button is pressed, the VU meter switches from bar mode to dot mode and back.</p>
<h2><a class="anchor" id="autotoc_md105"></a>
Mapping</h2>
<p>Map the Arduino as a Mackie Control Universal in your DAW.</p>
Expand All @@ -111,6 +113,7 @@ <h2><a class="anchor" id="autotoc_md105"></a>
<div class="line"><span class="comment"> * - SS: 74HC595 ST_CP</span></div>
<div class="line"><span class="comment"> * - MOSI: 74HC595 DS</span></div>
<div class="line"><span class="comment"> * - SCK: 74HC595 SH_CP</span></div>
<div class="line"><span class="comment"> * - A0: Push button (to ground, internal pull-up resistor will be used)</span></div>
<div class="line"><span class="comment"> * </span></div>
<div class="line"><span class="comment"> * Connect an LED (and series resistor) between each of the first 12 outputs of </span></div>
<div class="line"><span class="comment"> * the shift registers and ground.</span></div>
Expand All @@ -121,7 +124,9 @@ <h2><a class="anchor" id="autotoc_md105"></a>
<div class="line"><span class="comment"> * Behavior</span></div>
<div class="line"><span class="comment"> * --------</span></div>
<div class="line"><span class="comment"> * </span></div>
<div class="line"><span class="comment"> * The LEDs display the level of the first track in your DAW.</span></div>
<div class="line"><span class="comment"> * The LEDs display the level of the first track in your DAW. </span></div>
<div class="line"><span class="comment"> * When the push button is pressed, the VU meter switches from bar mode to dot </span></div>
<div class="line"><span class="comment"> * mode and back.</span></div>
<div class="line"><span class="comment"> * </span></div>
<div class="line"><span class="comment"> * Mapping</span></div>
<div class="line"><span class="comment"> * -------</span></div>
Expand Down Expand Up @@ -161,6 +166,7 @@ <h2><a class="anchor" id="autotoc_md105"></a>
<div class="line"><span class="comment">// If you use 24 LEDs, for example, the LEDs will turn on in groups of 2 at a</span></div>
<div class="line"><span class="comment">// time.</span></div>
<div class="line"> </div>
<div class="line"><span class="comment">// Push button to switch between dot and bar mode.</span></div>
<div class="line">Button dotBarModeButton = A0;</div>
<div class="line"> </div>
<div class="line"><span class="keywordtype">void</span> setup() {</div>
Expand Down

0 comments on commit 0cbef22

Please sign in to comment.