#### ADC #### .. role:: raw-html(raw) :format: html :raw-html:`
` **API Documents** :raw-html:`
` :raw-html:`` **Constructors** :raw-html:`
` | **ADC(**\ *unit*\ [required]\ **)** | Create an ADC object associated with the given unit ID. This allows you to then read analog values on the pin assigned to the unit ID. - ``unit``: unit number is tied to a specific pin. Refer to table below for more information, .. table:: :align: center ==== ==== Unit Pin ==== ==== 0 PB_4 1 PB_5 2 PB_6 3 PB_7 4 PB_1 5 PB_2 6 PB_3 ==== ==== :raw-html:`` **Methods** :raw-html:`
` | **ADC.read()** | Read the value on the analog pin and return it.