5 #define USE_SOFTWARE_TWI 7 #if defined(USE_SOFTWARE_TWI) 29 Serial.print(F(
":user: "));
30 Serial.println(reg, HEX);
35 Serial.print(F(
":snr:"));
36 for (
size_t i = 0; i <
sizeof(snr); i++) {
38 Serial.print(snr[i], HEX);
45 Serial.print(F(
":rev:"));
46 Serial.println(rev, HEX);
60 Serial.print(humidity);
61 Serial.print(F(
"% RH, "));
62 Serial.print(humidity_temperature);
63 Serial.print(F(
"° C, "));
64 Serial.print(temperature);
65 Serial.println(F(
"° C"));
bool read_electronic_serial_number(uint8_t snr[8])
bool read_firmware_revision(uint8_t &rev)
bool measure_temperature()
Software::TWI< BOARD::D18, BOARD::D19 > twi
bool read_user_register(uint8_t ®)
float read_humidity_temperature()