• SHOP
  • CLUB
Pruebe la cuenta premium
0
Mi taller
Añadir vehículo
0
Artículos #
0, 00
Su cesta está vacía

Gt911 Register Map -

int X = ( (regs[0x8012] & 0x0F) << 8 ) | regs[0x8011]; int Y = ( (regs[0x8014] & 0x0F) << 8 ) | regs[0x8013];

This is the single most important register. You poll this before reading touch data. gt911 register map

When implementing a bare-metal C/C++ driver for the GT911, your main execution loop or ISR (Interrupt Service Routine) should implement the following steps: int X = ( (regs[0x8012] & 0x0F) &lt;&lt;

The configuration data is often stored in a large byte array in the microcontroller's flash, which is then written to the 0x8047 region upon startup. 8 ) | regs[0x8011]