Wow, amazing !
I just added the 2 lines you suggested in the setup function of the program (no need to modify the library) and it works.
Wire.end();
Wire.begin(0, 26);
A great thanks for your rapid and effective help
Wow, amazing !
I just added the 2 lines you suggested in the setup function of the program (no need to modify the library) and it works.
Wire.end();
Wire.begin(0, 26);
A great thanks for your rapid and effective help
Thank’s you
I can’t try today, but will make a feedback…positive I hope :-)
Jérôme
(Ps: and thanks you very much Felix)
Hello Felmue
Thank’s for your answer.
Sorry for this newbie question, but I didn’t integrate the source code but used then Unit-Env library,
So do I should create the .h and .cpp files for all sources (width the update you propose) and it will replace the default library ?
Or maybe it would be better to uninstall it first ?
Hello,
I just bougth a M5StickCPlus and a ENV III hat. It's my first contact with M5Stack.
I downloaded the code sample here
https://github.com/m5stack/M5Unit-ENV/blob/master/examples/Unit_ENVIII_M5StickCPlus/Unit_ENVIII_M5StickCPlus.ino
No problem to compile neither to run, but it always returns 0.
So I tried to change some parameters, especially in this line:
Wire.begin(32, 33);
I tried with Wire.begin(0,26); and Wire.begin();
But always the same problem.
Could the module be defectuous ?
Thank's for your help