I am using your library on an ESP32 board The TWBR advice only works on AVR boards being an AVR register a more universal approach is to include the line: Wire.setClock(400000L);