From 38f6d7d9d8d25c4d40996412b2ba8bd871b782c5 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Wed, 21 Dec 2016 14:01:18 +0000 Subject: [PATCH] Update DAC reference comment. --- IOTeensy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IOTeensy.cpp b/IOTeensy.cpp index 7ff7801..ad2e49b 100644 --- a/IOTeensy.cpp +++ b/IOTeensy.cpp @@ -77,7 +77,7 @@ void CIO::startInt() { // Initialise the DAC SIM_SCGC2 |= SIM_SCGC2_DAC0; - DAC0_C0 = DAC_C0_DACEN | DAC_C0_DACRFS; // 1.2V VDDA is DACREF_2 + DAC0_C0 = DAC_C0_DACEN | DAC_C0_DACRFS; // 3.3V VDDA is DACREF_2 // Initialise ADC0 SIM_SCGC6 |= SIM_SCGC6_ADC0;