Skip to content
Snippets Groups Projects
Commit 87b57522 authored by Dean Camera's avatar Dean Camera
Browse files

Fix improper indenting of the internal board driver dispatch headers.

Slight improvements to the ADC peripheral driver example in the manual.
parent bfa22eca
Branches
Tags
No related merge requests found
......@@ -175,6 +175,7 @@
#include "Board/LEDs.h"
#endif
/* Preprocessor Checks: */
#if !defined(LEDS_LED1)
#define LEDS_LED1 0
#endif
......
......@@ -65,8 +65,11 @@
*
* // Start reading ADC channel 1 in free running (continuous conversion) mode
* ADC_StartReading(ADC_REFERENCE_AVCC | ADC_RIGHT_ADJUSTED | ADC_CHANNEL1);
* for (;;)
* {
* while (!(ADC_IsReadingComplete())) {};
* printf("Conversion Result: %d\r\n", ADC_GetResult());
* }
* \endcode
*
* @{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment