summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/mods/pybadc.c
diff options
context:
space:
mode:
Diffstat (limited to 'cc3200/mods/pybadc.c')
-rw-r--r--cc3200/mods/pybadc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cc3200/mods/pybadc.c b/cc3200/mods/pybadc.c
index a567617697..6af2f476c0 100644
--- a/cc3200/mods/pybadc.c
+++ b/cc3200/mods/pybadc.c
@@ -56,6 +56,8 @@
/// Usage:
///
/// adc = pyb.ADC(channel) # create an adc object on the given channel (0 to 3)
+/// this automatically configures the pin associated to
+/// that analog channel.
/// adc.read() # read channel value
///
/// The sample rate is fixed to 62.5KHz and the resolution to 12 bits.