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
import time
from machine import Pin, ADC
from time import sleep

y = ADC(Pin(26))

while True:
  z = y.read_u16()
  print(z)
  sleep(1)