UBISS2024exam

From Sketching with Hardware at LMU Wiki
Revision as of 12:57, 13 June 2024 by Skwhadmin (talk | contribs)
Jump to navigation Jump to search
1 from machine import Pin, ADC
2 from time import sleep
3 
4 y = ADC(Pin(26))
5 
6 while True:
7   z = y.read_u16()
8   print(z)
9   sleep(1)