Add files via upload
This commit is contained in:
parent
2604eb6be2
commit
acc6cbc371
|
@ -22,10 +22,10 @@ All text above, and the splash screen below must be included in any redistributi
|
|||
//#endif
|
||||
#include <stdlib.h>
|
||||
|
||||
//#include <Wire.h>
|
||||
|
||||
#include <Wire.h>
|
||||
//HardWire HWIRE(1,I2C_FAST_MODE); // I2c1
|
||||
//HardWire HWIRE(2,I2C_FAST_MODE); // I2c2
|
||||
//TwoWire WIRE(1,I2C_FAST_MODE); // I2c1
|
||||
//TwoWire WIRE(2,I2C_FAST_MODE); // I2c2
|
||||
#include "Adafruit_GFX.h"
|
||||
#include "Adafruit_SSD1306_STM32.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
STM32 adaption by Matthias Diro, 25.03.2015
|
||||
Things to know:
|
||||
This adaption uses hardware I2C (hardwire.h), Port: I2c2. SDA=0, SCL=1 on maple mini
|
||||
This adaption uses hardware I2C (now Wire.h), Port: I2c2. SDA=0, SCL=1 on maple mini
|
||||
To change it to Port I2C1:
|
||||
//HardWire HWIRE(1,I2C_FAST_MODE); // I2c1
|
||||
HardWire HWIRE(2,I2C_FAST_MODE); // I2c2
|
||||
//TwoWire WIRE(1,I2C_FAST_MODE); // I2c1
|
||||
TwoWire WIRE(2,I2C_FAST_MODE); // I2c2
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
STM32 adaption by Matthias Diro, tested with maple mini and heltec OLED 12864 I2c; adress: 0x3C (SPI should work, but I didn't own one)
|
||||
Things to know:
|
||||
This adaption uses hardware I2C (hardwire.h), Port: I2c2. SDA=0, SCL=1 on maple mini
|
||||
This adaption uses hardware I2C (now Wire.h), Port: I2c2. SDA=0, SCL=1 on maple mini
|
||||
further details: STM32_README.txt
|
||||
*/
|
||||
/*********************************************************************
|
||||
|
|
Loading…
Reference in New Issue