this is for holding javascript data
Natalie C. Landon-Brace edited ADC2.tex
about 10 years ago
Commit id: fdad8d7ed2381922b5a0571b5358dbd62b281728
deletions | additions
diff --git a/ADC2.tex b/ADC2.tex
index 1125807..a941a89 100644
--- a/ADC2.tex
+++ b/ADC2.tex
...
\subsubsection{Analog Digital Conversion}
In order to determine the status of the lights as accurately as possible, analog to digital conversion was used. ADCON1 was configured to make the 10 bit binary conversion value right aligned, using only RA0 as an analog input. Vref+ was Vdd, 5V and Vref- was Vss, 0V, so that was the range of the conversion. The value calculated by the ADC was equal to the following
value\: value: