# HG changeset patch # User Jacob Alexander # Date 1385936022 18000 # Node ID 6cdbd3f73785fa432fbddf0a93d00eeeb67961fd # Parent 0271d9f93ffdbd3bf109f7526628e9c00f31a834 Increasing MAX_PRESS_DELTA_MV to measured min kishsaver value - Enabling the test point strobe on the kishsaver really kills the sensing (many keys don't work, even at 400) diff -r 0271d9f93ffd -r 6cdbd3f73785 Scan/avr-capsense/scan_loop.c --- a/Scan/avr-capsense/scan_loop.c Sun Dec 01 14:52:54 2013 -0500 +++ b/Scan/avr-capsense/scan_loop.c Sun Dec 01 17:13:42 2013 -0500 @@ -32,7 +32,7 @@ // ----- Defines ----- // TODO dfj defines...needs commenting and maybe some cleaning... -#define MAX_PRESS_DELTA_MV 380 +#define MAX_PRESS_DELTA_MV 450 // As measured from the Teensy ADC pin #define THRESHOLD_MV (MAX_PRESS_DELTA_MV >> 1) //(2560 / (0x3ff/2)) ~= 5 #define MV_PER_ADC 5 @@ -232,7 +232,7 @@ strobe_map[6] = 8; strobe_map[7] = 9; // XXX - Disabling for now, not sure how to deal with test points yet (without spamming the debug) - //strobe_map[9] = 15; // Test point strobe (3 test points, sense 1, 4, 5) + //strobe_map[8] = 15; // Test point strobe (3 test points, sense 1, 4, 5) #elif defined(TERMINAL_6110668_STROBE) total_strobes = 16;