Arduino_STM32/STM32F1/libraries/Adafruit_SSD1306/STM32 README.txt

6 lines
252 B
Plaintext

STM32 adaption by Matthias Diro, 25.03.2015
Things to know:
This adaption uses hardware I2C (now Wire.h), Port: I2c2. SDA=0, SCL=1 on maple mini
To change it to Port I2C1:
//TwoWire WIRE(1,I2C_FAST_MODE); // I2c1
TwoWire WIRE(2,I2C_FAST_MODE); // I2c2