This shows you the differences between two versions of the page.
|
pm:lab:lab0xc0-4 [2020/04/07 11:53] iuliana.brinzoi [ADC (Analog to Digital Converter)] |
pm:lab:lab0xc0-4 [2020/04/07 21:54] (current) iuliana.brinzoi [Tasks] |
||
|---|---|---|---|
| Line 126: | Line 126: | ||
| Sketch is available here: {{:pm:lab:lab3.zip|}} | Sketch is available here: {{:pm:lab:lab3.zip|}} | ||
| <hidden> | <hidden> | ||
| - | Solution is available here: {{:pm:lab:lab0xc3_sol_asistenti.zip|}} | + | Solution is available here:{{:pm:lab:lab0xc3_sol_asistenti.zip|}} |
| </hidden> | </hidden> | ||
| - To the PA1 pin there is connected a voltage divider. Push buttons control the output voltage. Read the value from the pin using polling and print the corresponding voltage to the serial console. | - To the PA1 pin there is connected a voltage divider. Push buttons control the output voltage. Read the value from the pin using polling and print the corresponding voltage to the serial console. | ||