mirror of
https://github.com/xreef/PCF8574_library.git
synced 2024-08-30 18:12:18 +00:00
Fix SMT32 pathc
This commit is contained in:
parent
d1abfb5f75
commit
f996b29458
@ -22,7 +22,7 @@ PCF8574::PCF8574(uint8_t address, uint8_t interruptPin, void (*interruptFunctio
|
||||
_usingInterrupt = true;
|
||||
};
|
||||
|
||||
#if !defined(__AVR) && !defined(STM32F1)
|
||||
#if !defined(__AVR) && !defined(__STM32F1__)
|
||||
/**
|
||||
* Constructor
|
||||
* @param address: i2c address
|
||||
@ -59,7 +59,7 @@ PCF8574::PCF8574(uint8_t address, uint8_t interruptPin, void (*interruptFunctio
|
||||
* wake up i2c controller
|
||||
*/
|
||||
void PCF8574::begin(){
|
||||
#if !defined(__AVR) && !defined(STM32F1)
|
||||
#if !defined(__AVR) && !defined(__STM32F1__)
|
||||
Wire.begin(_sda, _scl);
|
||||
#else
|
||||
// Default pin for AVR and Arduino STM32 some problem on software emulation
|
||||
|
Loading…
Reference in New Issue
Block a user