aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/AVR/ADC
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/AVR/ADC')
-rw-r--r--testhal/AVR/ADC/Makefile10
-rw-r--r--testhal/AVR/ADC/readme.txt10
2 files changed, 8 insertions, 12 deletions
diff --git a/testhal/AVR/ADC/Makefile b/testhal/AVR/ADC/Makefile
index 994c8bf7e..b1b164e80 100644
--- a/testhal/AVR/ADC/Makefile
+++ b/testhal/AVR/ADC/Makefile
@@ -73,13 +73,9 @@ SRC = $(KERNSRC) \
$(HALSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
- $(STREAMSSRC) \
- $(CHIBIOS)/os/various/evtimer.c \
- main.c
-
-#ip_motor.c \
-#ip_ext.c \
-#ip_adc.c \ # Add the support of A8-A15 on arduino Mega board.
+ $(STREAMSSRC) \
+ $(CHIBIOS)/os/various/evtimer.c \
+ main.c
# List C++ source files here. (C dependencies are automatically generated.)
CPPSRC =
diff --git a/testhal/AVR/ADC/readme.txt b/testhal/AVR/ADC/readme.txt
index 401929187..55961af08 100644
--- a/testhal/AVR/ADC/readme.txt
+++ b/testhal/AVR/ADC/readme.txt
@@ -1,5 +1,5 @@
*****************************************************************************
-** ChibiOS/RT I2C test on Atmel AVR ATmega1280. **
+** ChibiOS/RT ADC test on Atmel AVR ATmega2560. **
*****************************************************************************
** TARGET **
@@ -8,10 +8,10 @@ The test demo runs on an Arduino Mega board.
** The Demo **
-This test blinks the onboard LED and also writes/reads to a 24C64 connected
-to the I2C pins (PD0/PD1 on the ATmega1280). There's no feedback provided but
-the I2C can easily be analyzed with any logic analyzer or sniffing with a
-buspirate or similar device.
+This test blinks the onboard LED and also prints the result of the ADC
+conversion to the Serial0. A voltmeter can be use to compare the printed
+value to the value on pin A0 of the arduino board. To make this test, a
+potentiometer is connected to the pin A0 of the board.
** Build Procedure **