write true or false to gpio pin
pin: int. the GPIO pin
on: boolean. the value of the GPIO
status: boolean. the GPIO's status: true or false
read digital pin's value
pin: int. the GPIO pin
trigger: Any. Whenever it comes, read gpio's value.
bool: boolean. the value of the gpio.
read analog pin's value
pin: int. the AIO pin
trigger: Any. Whenever it comes, read the analog io value.
value: number. the analog value.