The sender code
#include <Wire.h>
void setup() {
Wire.begin(8);
Wire.onRequest(requestEvent);
Serial.begin(9600);
Serial.println("Max6675");
}
void loop() {
}
void requestEvent() {
float a = (Module.readCelsius());
int b = a * 100;
char cstr[16];
itoa (b, cstr, 10);
Wire.write("%");
Wire.write(cstr);
Wire.write("&");
}