Merge pull request #22 from adi961/master

define MATRIX_HEIGHT, MATRIX_WIDTH and MATRIX_ROWS_IN_PARALLEL only i…
This commit is contained in:
mrfaptastic 2020-07-04 10:56:57 +01:00 committed by GitHub
commit b5b9ab7633
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,10 +77,17 @@
* All of this is memory permitting of course (dependant on your sketch etc.) ... * All of this is memory permitting of course (dependant on your sketch etc.) ...
* *
*/ */
#ifndef MATRIX_HEIGHT
#define MATRIX_HEIGHT 32 //64 #define MATRIX_HEIGHT 32 //64
#endif
#ifndef MATRIX_WIDTH
#define MATRIX_WIDTH 64 #define MATRIX_WIDTH 64
#endif
#ifndef MATRIX_ROWS_IN_PARALLEL
#define MATRIX_ROWS_IN_PARALLEL 2 #define MATRIX_ROWS_IN_PARALLEL 2
#endif
/***************************************************************************************/ /***************************************************************************************/
/* ESP32 Pin Definition. You can change this, but best if you keep it as is... */ /* ESP32 Pin Definition. You can change this, but best if you keep it as is... */