worked on SPI, fixed some bugs
adjusted LCD code added code for INA3221 worked on UI
This commit is contained in:
@@ -380,9 +380,11 @@ private:
|
||||
|
||||
/** check the chip's version */
|
||||
void check() {
|
||||
idle();
|
||||
uint8_t version = readRegister(REG_VERSION);
|
||||
debugMod1(NAME, "version %d", version);
|
||||
if (version != 0x12) {debugMod(NAME, "!! unsupported chip version detected");}
|
||||
sleep();
|
||||
}
|
||||
|
||||
/** what exactly is this? */
|
||||
|
||||
Reference in New Issue
Block a user