ESP32 IoT Future Board Kittenblock Programming Tutorial 05 - GPIO

ESP32 IoT Future Board Kittenblock Programming Tutorial 05 - GPIO

There are four ways to control basic sensors. Here in this tutorial we use four modes of the pinouts to access most of the sensors with Kittenblock.

 Programming Blocks

Block

Introduction

Read the pin level value, 0 and 1 correspond to 0V and 3.3V respectively

Set the level value of the pin

Read 10-bit pin analog value (0-1023) / 12-bit (0~4096)

The analog value of this pin can be set to 0~1023 corresponding to the output voltage 0~3.3V

 

 

  PIN

 

 Example

📋: Analog input

 

📋: Analog output (PWM)

 

📋: Digit output

 

📋: Digit read

 

If you have any question, please feel free to contact us at Discord, we will always be there to help.

 

KittenBot Team

Leave a comment

Please note, comments need to be approved before they are published.

SUBHEADING

Blog posts