Skip to content

Commit

Permalink
Update Touch_RA8875.cpp
Browse files Browse the repository at this point in the history
removed i/o toggle used for debugging
  • Loading branch information
tobi807 authored Aug 21, 2024
1 parent 87f9b9a commit e177293
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lgfx/v1/touch/Touch_RA8875.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ namespace lgfx

// enable Touch Panel
// RA8875_TPCR0: RA8875_TPCR0_ENABLE | RA8875_TPCR0_WAIT_4096CLK | RA8875_TPCR0_WAKEENABLE | adcClk
digitalWrite(4, HIGH);
writeRegister8(0x70, 0x80 | 0x30 | 0x08 | 0x04); // 10mhz max!
digitalWrite(4, LOW);

// Set Auto Mode
// RA8875_TPCR1, RA8875_TPCR1_AUTO | RA8875_TPCR1_DEBOUNCE
Expand Down Expand Up @@ -129,4 +127,4 @@ namespace lgfx
}
//----------------------------------------------------------------------------
}
}
}

0 comments on commit e177293

Please sign in to comment.