ArduinoCore-megaavr icon indicating copy to clipboard operation
ArduinoCore-megaavr copied to clipboard

TWI_MasterSetBaud hides functionality

Open apozharski opened this issue 4 years ago • 0 comments

According to the TWI sections of the documentation here and here the TWI baud rate is variable through the whole range of 0Hz - 1 MHz. The implementation of the Wire library for the megaavr however explicitly hides that functionality in a hidden way.

I suggest removing the code that limits the baudrate to the 3 distinct values defined in the Philips I2C standard in order to be able to communicate with devices that do not match that standard.

apozharski avatar Aug 04 '20 16:08 apozharski