-
Notifications
You must be signed in to change notification settings - Fork 174
Open
Description
Line: 11
BlueMicro_BLE//firmware/firmware_loop.cpp
Lines 8 to 18 in 60e8877
| /**************************************************************************************************************************/ | |
| // Keyboard Scanning | |
| /**************************************************************************************************************************/ | |
| //todo get scanning code into separate module | |
| //todo get generic code scanning module for non-nrf52 boards. | |
| #if DIODE_DIRECTION == COL2ROW | |
| #define writeRow(r) digitalWrite(r,LOW) | |
| #define modeCol(c) pinMode(c, INPUT_PULLUP) | |
| #ifdef NRF52840_XXAA | |
| #define gpioIn (((uint64_t)(NRF_P1->IN)^0xffffffff)<<32)|(NRF_P0->IN)^0xffffffff | |
| #else |