Add files via upload

This commit is contained in:
aster94 2017-12-07 20:10:35 +01:00 committed by GitHub
parent 98ed731df9
commit 2604eb6be2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@
*/
#elif defined (__STM32F1__)
#include "Arduino.h"
//#include <HardWire.h>
//#include <Wire.h>
#include "hardware/arm/HW_STM32_defines.h"
#endif

View File

@ -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)
{