![]() Memcpy(ch,"1",1) //doesn't work, memcpy not declared // Err#3 Serial.println("I can't print this from inside my INCLUDE FILE") //Err#2 #include // tried it in desperation, no help If there is no software solution I will use a knife and soldering iron to put both devices on the same bus.Main sketch file: char foo // required to clean up some other problems Alternative ideas? An I2C multiplexer probably isn't in the cards. Any suggestions about this error? The Wire.h file has a note that it was modified in 2020, so it is fairly recent.ΔΆ. Looking at Wire.h and Wire.cpp files, they both include the end() function. When I use it, I get a compiler error that "class TwoWire has no member named 'end'". To use the Wire library again after this, call Wire.begin() again." Sounds perfect., but. I tried using "Wire.end() " since that is supposed to "Disable the Wire library, reversing the effect of Wire.begin(). I can communicate fine with one or the other using Wire.begin(0,2) or Wire.begin(5,4), but have not been able to talk to both in the same sketch. ![]() ![]() The PCF & SSD1306 are on two different IC2 busses for some stupid reason. I have a commercial PCB with an ESP 12-F, PCF8563 Clock, and SSD1306 based OLED.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |