Skip to content

ESP32-S2 TouchIn calibration problem #4596

@fredqian

Description

@fredqian

fireware: 6.2.0 release(any version after 6.0.1)
hardware: any esp32-s2 board
Test code:

import time
import board
import touchio
touch4 = touchio.TouchIn(board.IO4 )
touch5 = touchio.TouchIn(board.IO5 )
touch6 = touchio.TouchIn(board.IO6 )
touch7 = touchio.TouchIn(board.IO7 )
while True:
    if touch4.value:
        print("touch4 Touched!")
    if touch5.value:
        print("touch5 Touched!")
    if touch6.value:
        print("touch6 Touched!")
    if touch7.value:
        print("touch7 Touched!")
    time.sleep(0.5)

The Output is :

touch4 Touched!
touch5 Touched!
touch6 Touched!
touch4 Touched!
touch5 Touched!
touch6 Touched!
touch4 Touched!
touch5 Touched!
touch6 Touched!
touch4 Touched!
touch5 Touched!
touch6 Touched!
touch4 Touched!
touch5 Touched!
touch6 Touched!

error: Only the lastest touchpad can work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugespressifapplies to multiple Espressif chips

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions