1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +03:00

revert Wire::pins, mark as deprecated

This commit is contained in:
Ivan Grokhotkov
2015-05-04 11:08:07 +08:00
parent 38c74232c9
commit f008806118
2 changed files with 7 additions and 2 deletions

View File

@ -52,8 +52,12 @@ TwoWire::TwoWire(){}
// Public Methods //////////////////////////////////////////////////////////////
void TwoWire::begin(int sda, int scl){
twi_init(sda, scl);
flush();
twi_init(sda, scl);
flush();
}
void TwoWire::pins(int sda, int scl){
twi_init(sda, scl);
}
void TwoWire::begin(void){