forlotto wrote:@trackerj
Totem Pole "I ASSUME" = 595 shift register I believe for those wondering but I would not discount these 595 shift registers either as they do work rather well but you basically toggle them on or toggle them off I like the idea of the pcf8574 being able to control on or off state rather than just toggling on or off but either one is a workable solution I just feel we should have a good reference to both.
Thus the quest for beginning how to interface this thing and get it working with espbasic. TrackerJ are you able to get this going with espbasic instead of just LUA if so do you have an example of how to do so?
As soon as I have a bit of time and been able to install ESPBasic 3.0 can give it a try. I must admit that I'm still stuck at a ESP Basic version 2.0.Alpha 22 as 3.0 was loking too buggy.
Has start looking better from now on?
Do you have any ESPbasic 3.0 I2C related documentation? Cannot find anywhere how to define your SDA and SCL pins as in Arduino IDE or even LUA.
Available on Tindie: https://www.tindie.com/products/nEXT_EVO1/universal-ac-mains-dimmer-mpdmv41/