My fork
Dependencies: BLE_API nRF51822-bluetooth-mdw
Fork of microbit-dal by
Diff: source/drivers/MicroBitDisplay.cpp
- Revision:
- 71:2f5caf7dd454
- Parent:
- 25:27299423d813
--- a/source/drivers/MicroBitDisplay.cpp Wed Jul 13 12:18:50 2016 +0100 +++ b/source/drivers/MicroBitDisplay.cpp Wed Jul 13 12:18:51 2016 +0100 @@ -139,7 +139,7 @@ return; // Calculate the bitpattern to write. - uint32_t row_data = 0x01 << (microbitMatrixMap.rowStart + strobeRow); + uint32_t row_data = 0x01 << (matrixMap.rowStart + strobeRow); uint32_t col_data = 0; for (int i = 0; i < matrixMap.columns; i++) @@ -208,7 +208,7 @@ void MicroBitDisplay::renderGreyscale() { - uint32_t row_data = 0x01 << (microbitMatrixMap.rowStart + strobeRow); + uint32_t row_data = 0x01 << (matrixMap.rowStart + strobeRow); uint32_t col_data = 0; // Calculate the bitpattern to write.