Skip to content

Commit

Permalink
Fixed GT911 IRQ
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Sep 28, 2023
1 parent 16b0df1 commit c5438e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/TouchDrvGT911.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ class TouchDrvGT911 :
setRstValue(HIGH);
delay(10);
}
if (__irq != SENSOR_PIN_NONE) {
pinMode(__irq, INPUT);
}
writeRegister(GT911_COMMAND, 0x02);
}

Expand Down

0 comments on commit c5438e1

Please sign in to comment.