From 728a7a9a47ec07d18c3ae1d7e9fa6ac80fbc104f Mon Sep 17 00:00:00 2001 From: Bengt Ragnemalm <bengt.ragnemalm@liu.se> Date: Tue, 23 Aug 2022 14:28:39 +0200 Subject: [PATCH] comments --- src/ArduinoZeroTemplate.c | 4 +++- src/ArduinoZeroTemplate.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ArduinoZeroTemplate.c b/src/ArduinoZeroTemplate.c index b47f0d6..b0d9006 100644 --- a/src/ArduinoZeroTemplate.c +++ b/src/ArduinoZeroTemplate.c @@ -58,6 +58,8 @@ void ArduinoZeroTemplate(void) } } + // Create example of using ADC + while (true) { }// end while (true) infinite loop @@ -225,7 +227,7 @@ void ArduinoZeroTemplateInit(void) // But in the current version of ASF there is no support for DAC channels. See dac.h // Note: There are just a few SAM devices that has more than one DAC, like the SAM4L-family. - // Output is probably enabled by dac_init or dac_enable but otherwise it must be done also. + // Output is probably enabled by dac_init or dac_enable but otherwise it must also be done. // Internal ADC adc_get_config_defaults(&adc_config_struct); diff --git a/src/ArduinoZeroTemplate.h b/src/ArduinoZeroTemplate.h index 2e1859b..b97329f 100644 --- a/src/ArduinoZeroTemplate.h +++ b/src/ArduinoZeroTemplate.h @@ -138,7 +138,7 @@ Available for user #define MAX_USART5_RX_BUFFER_LENGTH 5 // Analog in addition in progress - // Configuration shall be set and how to read. Also if it should be callback or not + // How to read is missing. // Functions void ArduinoZeroTemplateInit(void); -- GitLab