8000 Add files via upload · ArduinoWorks/Arduino_STM32@2604eb6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2604eb6

Browse files
authored
Add files via upload
1 parent 98ed731 commit 2604eb6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

STM32F1/libraries/OLED_I2C/OLED_I2C.h

Lines changed: 1 addition & 1 deletion
#elif defined (__STM32F1__)
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
*/
8888
8989
#include "Arduino.h"
90-
//#include <HardWire.h>
90+
//#include <Wire.h>
9191
#include "hardware/arm/HW_STM32_defines.h"
9292
#endif
9393

STM32F1/libraries/OLED_I2C/hardware/arm/HW_STM32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "Wire.h"
22
#define WIRE_WRITE HWIRE.write
33

4-
HardWire HWIRE(2,I2C_FAST_MODE); // stupid compiler
4+
TwoWire WIRE(2,I2C_FAST_MODE); // stupid compiler
55

66
void OLED::_convert_float(char *buf, double num, int width, byte prec)
77
{

0 commit comments

Comments
 (0)
0