text: #!/usr/bin/python3
  #+-+-+-+-+-+-+-+-+-+-+-+
  #|R|i|c|e|L|e|e|.|c|o|m|
  #+-+-+-+-+-+-+-+-+-+-+-+
  # Copyright (c) 2021, ricelee.com
  # All rights reserved.
  # Use of this source code is governed by a BSD-style license that can be
  # found in the LICENSE file.
  #
  # Origin: p96 at https://hackspace.raspberrypi.org/books/micropython-pico
  
  import machine
  import utime
  
  potentiometer = machine.ADC(26)
  conversion_factor = 3.3 / (65535)
  
  while True:
      voltage = potentiometer.read_u16() * conversion_factor
      print(voltage)
      utime.sleep(2)
  
  