UBISS2024exam

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