@felmue , @teastain
I have a good report.
I was able to change my address using this procedure based on everyone's advice.
- remove the already installed M5Unit-EXTIO2 from the library folder.
- download the latest library from here as a zip file and install M5Unit-EXTIO2-main.
- wrote this sketch.
#include <M5Stack.h>
#include "M5_EXTIO2.h"
M5_EXTIO2 extio;
void setup() {
int t_erro = 0;
M5.begin();
t_erro = extio.begin(&Wire, 21, 22, 0x45);
if(t_erro){
M5.Lcd.print("Connect");
}else{
M5.Lcd.print("Error");
}
extio.setDeviceAddr(0x47);
}
void loop() {
}
Thanks to you guys for helping me solve the problem. Thank you so much!