Sfoglia il codice sorgente

Adding initial Unsaver debug strobe map

simple
Jacob Alexander 10 anni fa
parent
commit
c58e25d229
1 ha cambiato i file con 18 aggiunte e 0 eliminazioni
  1. 18
    0
      Scan/avr-capsense/scan_loop.c

+ 18
- 0
Scan/avr-capsense/scan_loop.c Vedi File

@@ -212,6 +212,7 @@ inline void scan_setup()
// The single row ribbon connector Model Fs only have a max of 16 strobes
//#define KISHSAVER_STROBE
#define TERMINAL_6110668_STROBE
//#define UNSAVER_STROBE
#ifdef KISHSAVER_STROBE
total_strobes = 10;

@@ -244,6 +245,23 @@ inline void scan_setup()
strobe_map[13] = 13;
strobe_map[14] = 14;
strobe_map[15] = 15;
#elif defined(UNSAVER_STROBE)
total_strobes = 14;

strobe_map[0] = 0;
strobe_map[1] = 1;
strobe_map[2] = 2;
strobe_map[3] = 3;
strobe_map[4] = 4;
strobe_map[5] = 5;
strobe_map[6] = 6;
strobe_map[7] = 7;
strobe_map[8] = 8;
strobe_map[9] = 9;
strobe_map[10] = 10;
strobe_map[11] = 11;
strobe_map[12] = 12;
strobe_map[13] = 13;
#else
// Strobe detection
// TODO