Skip to content

Commit 5e320b6

Browse files
authored
Update CST816T.cpp
1 parent 514b70d commit 5e320b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Touch/CST816T/CST816T.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ void setup()
5454
}
5555
Serial.println("CST816T initialization successfully");
5656

57-
// 中断模式为检测到手势时,发出低脉冲
57+
// 中断模式为检测到触摸时,发出低脉冲
5858
// CST816T->IIC_Write_Device_State(CST816T->Arduino_IIC_Touch::Device::TOUCH_DEVICE_INTERRUPT_MODE,
59-
// CST816T->Arduino_IIC_Touch::Device_Mode::TOUCH_INTERRUPT_MOTION);
59+
// CST816T->Arduino_IIC_Touch::Device_Mode::TOUCH_DEVICE_INTERRUPT_PERIODIC);
6060

6161
// 目前休眠功能只能进入不能退出 所有不建议开启休眠
6262
// CST816T->IIC_Write_Device_State(CST816T->Arduino_IIC_Touch::Device::TOUCH_DEVICE_SLEEP_MODE,

0 commit comments

Comments
 (0)