Skip to content

nrf52832 does not respond to control-C - sometimes #1003

Closed
@jerryneedell

Description

@jerryneedell

While testing the SPI and I2C interfaces to the STMPE610 Touch screen copntroller, I found that once I start my program running, I cannot use control-C to break out. This occurs with pot the I2C and SPI versions of the driver.

Control-C does work under the REPL -- have not tried other sensors yet.

Revetring to 3.x -- control C works properly running the same code.

No exeption handling in the program.

import board
import digitalio
from adafruit_stmpe610 import Adafruit_STMPE610_I2C
i2c=busio.I2C(board.SCL,board.SDA)
st=Adafruit_STMPE610_I2C(i2c)
while True:
    if not st.buffer_empty:
        print(st.read_data())

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions