Add files via upload
This commit is contained in:
parent
98ed731df9
commit
2604eb6be2
|
@ -87,7 +87,7 @@
|
|||
*/
|
||||
#elif defined (__STM32F1__)
|
||||
#include "Arduino.h"
|
||||
//#include <HardWire.h>
|
||||
//#include <Wire.h>
|
||||
#include "hardware/arm/HW_STM32_defines.h"
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "Wire.h"
|
||||
#define WIRE_WRITE HWIRE.write
|
||||
|
||||
HardWire HWIRE(2,I2C_FAST_MODE); // stupid compiler
|
||||
TwoWire WIRE(2,I2C_FAST_MODE); // stupid compiler
|
||||
|
||||
void OLED::_convert_float(char *buf, double num, int width, byte prec)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue