PaulStoffregen 10 лет назад
Родитель
Сommit
4c6301d396
5 измененных файлов: 49 добавлений и 3 удалений
  1. Двоичные данные
      gui/audioshield_backside.jpg
  2. Двоичные данные
      gui/audioshield_inputs.jpg
  3. Двоичные данные
      gui/audioshield_outputs.jpg
  4. +14
    -0
      gui/index.html
  5. +35
    -3
      gui/list.html

Двоичные данные
gui/audioshield_backside.jpg Просмотреть файл

Before After
Width: 240  |  Height: 218  |  Size: 24KB

Двоичные данные
gui/audioshield_inputs.jpg Просмотреть файл

Before After
Width: 240  |  Height: 260  |  Size: 30KB

Двоичные данные
gui/audioshield_outputs.jpg Просмотреть файл

Before After
Width: 240  |  Height: 288  |  Size: 32KB

+ 14
- 0
gui/index.html Просмотреть файл

@@ -31,6 +31,20 @@
<link rel="stylesheet" type="text/css" href="font-awesome/css/font-awesome.min.css"/>
<link rel="stylesheet" href="style.css">
<head>
<style>
table.doc {border-spacing:3px; border-collapse:separate; font-size: 80%}
tr.top {background-color:#C0C0C0}
tr.odd {background-color:#F0F0F0}
tr.even {background-color:#E0E0E0}
p.desc {padding-left:3em; margin:0px; padding-top:0.2em; padding-bottom:0.8em; font-size:0.75em}
span.indent {padding-left:2em}
span.literal {color: #cc0000}
span.comment {color: #777755}
span.keyword {color: #cc6600}
span.function {color: #996600}
span.mainfunction {color: #993300; font-weight: bolder}
</style>
</head>
<body spellcheck="false">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">

+ 35
- 3
gui/list.html Просмотреть файл

@@ -13,9 +13,38 @@
});
</script>
<script type="text/x-red" data-help-name="AnalogInputI2S">
<p>Receive 16 bit stereo input from the
audio shield or other I2S device</p>
<p><b>TODO</b> Add object documetation here</b>.</p>
<h3>Summary</h3>
<p>Receive 16 bit stereo audio from the
<a href="http://www.pjrc.com/store/teensy3_audio.html" target="_blank">audio shield</a>
or another I2S device.</p>
<h3>Audio Library Ports</h3>
<table class=doc align=center cellpadding=3>
<tr class=top><th>Port</th><th>Function</th></tr>
<tr class=odd><td align=center>Out 0</td><td>Left Channel</td></tr>
<tr class=odd><td align=center>Out 1</td><td>Right Channel</td></tr>
</table>
<h3>Functions</h3>
<p>This object has no functions to call from the Arduino sketch. It
simply streams data from the I2S hardware to its 2 output ports.</p>
<h3>Hardware</h3>
<p align=center><img src="audioshield_inputs.jpg"></p>
<p>The I2S signals are used in "master" mode, where Teensy creates
all 3 clock signals and controls all data timing.</p>

<table class=doc align=center cellpadding=3>
<tr class=top><th>Pin</th><th>Signal</th><th>Direction</th></tr>
<tr class=odd><td align=center>9</td><td>BCLK</td><td>Output</td></tr>
<tr class=odd><td align=center>11</td><td>MCLK</td><td>Output</td></tr>
<tr class=odd><td align=center>13</td><td>RX</td><td>Input</td></tr>
<tr class=odd><td align=center>23</td><td>LRCLK</td><td>Output</td></tr>
</table>
<p>Audio from
master mode I2S may be used in the same project as ADC, DAC and
PWM signals, because all remain in sync to Teensy's timing</p>
<h3>Notes</h3>
<p>Normally, this object is used with the Audio Shield, which
is controlled separately by the "sgtl5000" object.</p>
<p align=center><img src="audioshield_backside.jpg"></p>
</script>
<script type="text/x-red" data-template-name="AnalogInputI2S">
<div class="form-row">
@@ -36,6 +65,9 @@
});
</script>
<script type="text/x-red" data-help-name="AnalogInputI2Sslave">
<p>Receive 16 bit stereo audio from a I2S device using slave mode</p>


<p>Stereo audio input from the audio shield or other I2S device</p>
<p><b>TODO</b> Add object documetation here</b>.</p>
</script>

Загрузка…
Отмена
Сохранить