Raduino changes are getting to TeensyDSP over I2C. TeensyDSP successfully receiving some CAT.

This commit is contained in:
Rob French
2021-02-09 22:58:07 -06:00
parent 702f370d1b
commit aeeec69daf
12 changed files with 134 additions and 53 deletions

View File

@@ -305,9 +305,21 @@ void doRaduinoToTeensy(UBitxRigState* r) {
Wire.beginTransmission(I2CMETER_ADDR);
Wire.write(I2CMETER_RIGINF);
//for (size_t i = 0; i < sizeof(UBitxRigState); i++) {
// Wire.write(ptr[i]);
//}
//Note, I can switch this back...
Wire.write(ptr, sizeof(UBitxRigState));
Wire.endTransmission();
Serial.print("VFO A: ");
Serial.print(r->vfo[0]);
Serial.print(", VFO B: ");
Serial.print(r->vfo[1]);
Serial.print(", Data Size: ");
Serial.print(sizeof(UBitxRigState));
Serial.println();
Wire.requestFrom(I2CMETER_ADDR, sizeof(UBitxRigState));
UBitxRigState tmp;