Gracias ante todo por vuestro tiempo.
He investigado el tema de ESP o AVR y en github he encontrado que hay dos librerías WIRE.
Una para cada arquitectura.
name=Wire
version=1.0
author=Arduino
maintainer=Ivan Grokhotkov ivan@esp8266.com
sentence=Allows the communication between devices or sensors connected via Two Wire Interface Bus. For esp8266 boards.
paragraph=
category=Signal Input/Output
url=Wire - Arduino Reference
architectures=esp8266
name=Wire
version=1.0
author=Arduino
maintainer=Arduino info@arduino.cc
sentence=This library allows you to communicate with I2C and Two Wire Interface devices.
paragraph=It allows the communication with I2C devices like temperature sensors, realtime clocks and many others using SDA (Data Line) and SCL (Clock Line)
category=Communication
url=Wire - Arduino Reference
architectures=avr
La de AVR define:
void begin(uint8_t);
void begin(int);
La de ESP define:
void begin(int sda, int scl);
void begin(int sda, int scl, uint8_t address);
Por lo tanto dependiendo de si es AVR o ESP se debe de utilizar una u otra librería WIRE.
Otra cosa es como hacerlo en el IDE de Arduino o debe hacerlo automático.
Así que creo la mejor solución para mí, es utilizar la de AVR.
Me queda trabajo…. Al final tendré que rehacer las TAMC_GT911.h y cpp
¿Qué opináis?.