Ttelmah - I agree with a different type bus... problem is this is not my hardware. I am in the process of requesting the MFG to change it to an RS485 bus.
I am implementing a software I2C bus on a PIC18F46K22.
- Single Master Network
- SCL is on PIN_A2
- SDA is on PIN_D3
The problem is that the I2C clock and data pins are open-drain which causes an ...
The function pointer defined in the structure works fine.
The 'TestSpeak' function pointer only works when declared in a local function not as a global.