aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/AudioInput/AudioInput.txt
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-10-20 07:39:11 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-10-20 07:39:11 +0000
commitbd337aced3b1888373030878bf1a49367bc37ab5 (patch)
treeb2633f86bc8d5155659cc9eae31672ff3958c07e /Demos/Device/LowLevel/AudioInput/AudioInput.txt
parent06f222b3ed6f612f4ac1b21566547797d4db8013 (diff)
downloadlufa-bd337aced3b1888373030878bf1a49367bc37ab5.tar.gz
lufa-bd337aced3b1888373030878bf1a49367bc37ab5.tar.bz2
lufa-bd337aced3b1888373030878bf1a49367bc37ab5.zip
Added default test tone generation mode to the Device mode AudioInput demos.
Diffstat (limited to 'Demos/Device/LowLevel/AudioInput/AudioInput.txt')
-rw-r--r--Demos/Device/LowLevel/AudioInput/AudioInput.txt16
1 files changed, 12 insertions, 4 deletions
diff --git a/Demos/Device/LowLevel/AudioInput/AudioInput.txt b/Demos/Device/LowLevel/AudioInput/AudioInput.txt
index 39d78e784..fea31b66e 100644
--- a/Demos/Device/LowLevel/AudioInput/AudioInput.txt
+++ b/Demos/Device/LowLevel/AudioInput/AudioInput.txt
@@ -50,11 +50,13 @@
* basic USB Audio 1.0 drivers in all modern OSes (i.e. no special drivers
* required).
*
- * On start-up the system will automatically enumerate and function
- * as a USB microphone. Incoming audio from the ADC channel 1 will
- * be sampled and sent to the host computer.
+ * On start-up the system will automatically enumerate and function as a
+ * USB microphone. By default, the demo will produce a square wave test tone
+ * when the board button is pressed. If USE_TEST_TONE is not defined in the
+ * project makefile, incoming audio from the ADC channel 1 will be sampled
+ * and sent to the host computer instead.
*
- * To use, connect a microphone to the ADC channel 2.
+ * When in microphone mode, connect a microphone to the ADC channel 2.
*
* Under Windows, if a driver request dialogue pops up, select the option
* to automatically install the appropriate drivers.
@@ -70,6 +72,12 @@
* <td><b>Description:</b></td>
* </tr>
* <tr>
+ * <td>USE_TEST_TONE</td>
+ * <td>Makefile LUFA_OPTS</td>
+ * <td>When defined, this alters the demo to produce a square wave test tone when the first board button is pressed
+ * instead of sampling the board microphone.</td>
+ * </tr>
+ * <tr>
* <td>MICROPHONE_BIASED_TO_HALF_RAIL</td>
* <td>Makefile LUFA_OPTS</td>
* <td>When defined, this alters the demo so that the half VCC bias of the microphone input is subtracted.</td>