Difference between revisions of "HANcoder/STM32/Blocks/Analog Input"

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
Line 13: Line 13:
 
|InputPin = Default
 
|InputPin = Default
 
|SampleTime = Default
 
|SampleTime = Default
 +
 +
}}
 +
 +
{{HANcoder/blockFooter|
  
 
}}
 
}}

Revision as of 11:03, 5 April 2017

Supported Targets: Olimexino, E407, P405

General information about Analog Input

This blocks reads the analog value of the selected pin. The output of the block is the bit value of the conversion. When using the standard Vref of 3.3V the result of the conversion must be multiplied by 0.8mV to get the actual voltage on the pin. (The E407 has an option to enable filtering)

Block

AnalogInput.png

Mask

AnalogInputMask.png

Template:HANcoder/blockFooter