aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/AVR
diff options
context:
space:
mode:
authortfateba <tfateba@35acf78f-673a-0410-8e92-d51de3d6d3f4>2016-11-01 02:04:43 +0000
committertfateba <tfateba@35acf78f-673a-0410-8e92-d51de3d6d3f4>2016-11-01 02:04:43 +0000
commitef75851d109f9b1bd106c0140548300fce631906 (patch)
treeb991ba974065ec73cd2cbb8a6092cc8ecaf83788 /testhal/AVR
parent4600e6fc46e0e13441cd87989eed8ad8d49786d4 (diff)
downloadChibiOS-ef75851d109f9b1bd106c0140548300fce631906.tar.gz
ChibiOS-ef75851d109f9b1bd106c0140548300fce631906.tar.bz2
ChibiOS-ef75851d109f9b1bd106c0140548300fce631906.zip
Fixed small ident, readme file and Makefile.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9896 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/AVR')
-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 **