Skip to content

Commit

Permalink
doxyclang
Browse files Browse the repository at this point in the history
  • Loading branch information
ladyada committed Oct 20, 2023
1 parent 90fae75 commit ca4ce54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Adafruit_FT6206.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@ Adafruit_FT6206::Adafruit_FT6206() { touches = 0; }
FT6206_DEFAULT_THRESHOLD but you can try changing it if your screen is
too/not sensitive. You can also try 0 to not change the threshold.
@param theWire Which I2C bus to use, defaults to &Wire
@param i2c_addr The I2C address we expect to find the touch panel at
@returns True if an FT captouch is found, false on any failure
*/
/**************************************************************************/
bool Adafruit_FT6206::begin(uint8_t thresh, TwoWire *theWire, uint8_t i2c_addr) {
bool Adafruit_FT6206::begin(uint8_t thresh, TwoWire *theWire,
uint8_t i2c_addr) {
if (i2c_dev)
delete i2c_dev;
i2c_dev = new Adafruit_I2CDevice(i2c_addr, theWire);
Expand Down
2 changes: 1 addition & 1 deletion Adafruit_FT6206.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "Arduino.h"
#include <Adafruit_I2CDevice.h>

#define FT62XX_DEFAULT_ADDR 0x38 //!< I2C address
#define FT62XX_DEFAULT_ADDR 0x38 //!< I2C address
#define FT62XX_G_FT5201ID 0xA8 //!< FocalTech's panel ID
#define FT62XX_REG_NUMTOUCHES 0x02 //!< Number of touch points

Expand Down

0 comments on commit ca4ce54

Please sign in to comment.