********************************
picoButton_pico.txt PicoLe-22
********************************
# This example uses Maker Pi Pico

import machine
import utime


#by PicoLe-22  (D@CC)
#on 2021EMay24
progName="picoButton_pico.py"

reads button22 (GP22) once a second
and prints out its state once a second

button22 = machine.Pin(22, machine.Pin.IN)

	state=button22.value()

# source: https://github.com/CytronTechnologies/MAKER-PI-PICO/blob/main/Example%20Code/MicroPython/maker-pi-pico-rgb-led.py
# date: 2021EMay24
***************************************************************************************************************************
#/picoButton_pico.txt