We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afea0c7 commit 5daf24eCopy full SHA for 5daf24e
src/encoders/mt6835/MT6835.cpp
@@ -60,7 +60,7 @@ uint8_t MT6835::getCalibrationStatus(){
60
data[0] = MT6835_OP_READ << 4 | MT6835_REG_CAL_STATUS >> 8;
61
data[1] = MT6835_REG_CAL_STATUS;
62
63
- spi->startTransaction(settings);
+ spi->beginTransaction(settings);
64
if(nCS >= 0)
65
digitalWrite(nCS, LOW);
66
spi->transfer(data, 3);
0 commit comments