the MCLR pins of the 74HCT164 chips are not connected on Borg 16
This commit is contained in:
parent
9c389e0ee8
commit
266b599cfd
|
@ -57,8 +57,6 @@ static void nextrow(uint8_t row) {
|
||||||
if (row == 0) {
|
if (row == 0) {
|
||||||
// row 0: initialize first shift register
|
// row 0: initialize first shift register
|
||||||
#ifndef INVERT_ROWS
|
#ifndef INVERT_ROWS
|
||||||
ROWPORT &= ~(1 << PIN_MCLR);
|
|
||||||
ROWPORT |= (1 << PIN_MCLR);
|
|
||||||
ROWPORT |= (1 << PIN_DATA);
|
ROWPORT |= (1 << PIN_DATA);
|
||||||
ROWPORT |= (1 << PIN_CLK);
|
ROWPORT |= (1 << PIN_CLK);
|
||||||
ROWPORT &= ~(1 << PIN_CLK);
|
ROWPORT &= ~(1 << PIN_CLK);
|
||||||
|
@ -197,7 +195,7 @@ void borg_hw_init() {
|
||||||
COLDDR2 = 0xFF;
|
COLDDR2 = 0xFF;
|
||||||
|
|
||||||
// switch pins of the row port to output mode
|
// switch pins of the row port to output mode
|
||||||
ROWDDR = (1 << PIN_MCLR) | (1 << PIN_CLK) | (1 << PIN_DATA);
|
ROWDDR = (1 << PIN_CLK) | (1 << PIN_DATA);
|
||||||
|
|
||||||
// switch off all columns for now
|
// switch off all columns for now
|
||||||
COLPORT1 = 0;
|
COLPORT1 = 0;
|
||||||
|
|
Loading…
Reference in New Issue