Moderator: igrr
Thanks for the response.I note that the example in the above post either purposefully or by coincidence just happens to use the only hardwired I2c pins. I used Wire() with the esp8266 and I know I should never have expectations but I thought it just might be portable to the esp32. Well it almost did work except that the pins must be the hardware pins.
Since I only use 8266 and 32's all of the attempts to make the code independent of hardware which has value for vendors in that they can pitch new hardware to an existing customer are often just annoying. Since it when it doesn't work the hardware issue is buried deep. The annoyance is muted since it is free code and often is faster to fix than write from scratch. Further it can be fixed with a soldering iron some thing I can't do with laptop or PC code.
I'm hoping for a move to strip esp Arduino all non esp boards and all libraries for non esp boards. The " code runs on everything" seems like a fairy tale.
I'll see in the next few days if the hardwired I2c can be multiplexed to other pins.