Raduino changes are getting to TeensyDSP over I2C. TeensyDSP successfully receiving some CAT.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user