packageAdc

Analog inputs (machine.ADC)

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Contents

NameDescription
ReadGP1 used as an analog input (machine.ADC), driven by an external voltage divider; the script copies a threshold to GP0 (LED) to make the reading observable