How to specifying SCL and SDA.
nopnop2002 opened this issue · 4 comments
-
arduino core for esp32:
Wire.setPins(int sdaPin, int sclPin);
i2cuart.begin(baudrate_A, baudrate_B); -
arduino core for esp8266:
Can not. -
atmega:
#define SDA_PORT PORTD
#define SDA_PIN SDA
#define SCL_PORT PORTD
#define SCL_PIN SCL
#include <SoftI2CMaster.h>
#include <SoftWire.h>
SoftWire Wire = SoftWire();
i2cuart.begin(baudrate_A, baudrate_B); -
Arduino core support for STM32 based boards:
Wire.setSCL(SCL);
Wire.setSDA(SDA);
i2cuart.begin(baudrate_A, baudrate_B); -
Arduino Core for Nordic Semiconductor nRF5 based boards:
Wire.setPins(int sdaPin, int sclPin);
i2cuart.begin(baudrate_A, baudrate_B);
Wire.setPins(int sdaPin, int sclPin); not working on ESP32 (error while compiling: 'class TwoWire' has no member named 'setPins').
Wire.setPins(int sdaPin, int sclPin); not working on ESP32 (error while compiling: 'class TwoWire' has no member named 'setPins').
This is not a problem with this library.
Check here.
https://github.com/espressif/arduino-esp32/issues
Is this library supports SC16IS762 ?
The SC16IS762 differs from the SC16IS752 in that it supports SPI clock speeds up to 15 Mbit/s instead of the 4 Mbit/s supported by the SC16IS752, and in that it supports IrDA SIR up to 1.152 Mbit/s.
It probably works.