@energia
When I send data over i2c but slave(MSP430FR5969) cannot read all the data with this code Its look like just only 12 characters can send .
Pls give some advice.
Master Code ( Arduino Mega2560):
#include <Wire.h>
uint8_t greeting[35] = "Hello World! and How are you today!";
void setup() {
Serial.begin(250000);
Wire.begin();
}
void loop() {
if (Serial.available() > 0) {
byte inByte = Serial.read();
if (inByte == '1') {
Wire.beginTransmission(0x23);
Wire.write(greeting, 35);
Wire.endTransmission();
}
}
}
Slave C