diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-10-09 12:31:23 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-10-09 12:31:23 +1000 |
commit | 20f235c1f1947dac5cf287b28748b6b0ee83ce0a (patch) | |
tree | 65eadbe29823897d5afaacff4ae41861f56f676e /boards/base/Mikromedia-STM32-M4-ILI9341 | |
parent | 4766b060a857260ae92189c382dab660e83675d1 (diff) | |
download | uGFX-20f235c1f1947dac5cf287b28748b6b0ee83ce0a.tar.gz uGFX-20f235c1f1947dac5cf287b28748b6b0ee83ce0a.tar.bz2 uGFX-20f235c1f1947dac5cf287b28748b6b0ee83ce0a.zip |
Fine tuning the MCU driver parameters for the Mikromedia STM32 M4
Diffstat (limited to 'boards/base/Mikromedia-STM32-M4-ILI9341')
-rw-r--r-- | boards/base/Mikromedia-STM32-M4-ILI9341/gmouse_lld_MCU_board.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/boards/base/Mikromedia-STM32-M4-ILI9341/gmouse_lld_MCU_board.h b/boards/base/Mikromedia-STM32-M4-ILI9341/gmouse_lld_MCU_board.h index 94333067..7624cdf3 100644 --- a/boards/base/Mikromedia-STM32-M4-ILI9341/gmouse_lld_MCU_board.h +++ b/boards/base/Mikromedia-STM32-M4-ILI9341/gmouse_lld_MCU_board.h @@ -10,11 +10,11 @@ // We directly define the jitter settings #define GMOUSE_MCU_PEN_CALIBRATE_ERROR 8 -#define GMOUSE_MCU_PEN_CLICK_ERROR 4 +#define GMOUSE_MCU_PEN_CLICK_ERROR 6 #define GMOUSE_MCU_PEN_MOVE_ERROR 4 #define GMOUSE_MCU_FINGER_CALIBRATE_ERROR 14 -#define GMOUSE_MCU_FINGER_CLICK_ERROR 8 -#define GMOUSE_MCU_FINGER_MOVE_ERROR 8 +#define GMOUSE_MCU_FINGER_CLICK_ERROR 18 +#define GMOUSE_MCU_FINGER_MOVE_ERROR 14 // Now board specific settings... @@ -40,7 +40,7 @@ static const ADCConversionGroup adcgrpcfg = { #define Z_MIN 0 // The minimum Z reading #define Z_MAX 4095 // The maximum Z reading (12 bits) -#define Z_TOUCHON 4000 // Values between this and Z_MAX are definitely pressed +#define Z_TOUCHON 3090 // Values between this and Z_MAX are definitely pressed #define Z_TOUCHOFF 400 // Values between this and Z_MIN are definitely not pressed static bool_t init_board(GMouse *m, unsigned driverinstance) { |