Skip to content

Commit

Permalink
back to 20MHz SPI
Browse files Browse the repository at this point in the history
  • Loading branch information
2dom committed Jun 20, 2019
1 parent 4c2acb9 commit 058a027
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PxMatrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ inline void PxMATRIX::writeRegister(uint16_t reg_value, uint8_t reg_position)
if (_driver_chip == FM6124 || _driver_chip == FM6126A){

if (_driver_chip == FM6124) {
Serial.println("\FM6124 - REG: " + String(reg_position));
Serial.println("\nFM6124 - REG: " + String(reg_position));
} else {
Serial.println("\nFM6126A - REG: " + String(reg_position));
}
Expand Down Expand Up @@ -671,7 +671,7 @@ void PxMATRIX::spi_init(){

SPI.setDataMode(SPI_MODE0);
SPI.setBitOrder(MSBFIRST);
SPI.setFrequency(10000000);
SPI.setFrequency(20000000);

}

Expand Down

0 comments on commit 058a027

Please sign in to comment.