RCXMotorMux and PCF8574 on EV3
I just try to use my old multiplexers that worked fine on my NXT with RobotC 2.x. But now I have an EV3 and RobotC 4.28beta.
I read that drivers were not all up to date so I didn't expect it worked at first, and I decided to work on the driver for me and the community if possible.
So I took the github deposit and modiied what was necessary.
But nothing works.
When I use the Test I2C sensor utility, I have a good answer for the PCF8574 (only input multiplexor) and the good behavior for the rcxmotrmux. So both my multiplexors and my EV3brick are functionnal.
But when I try to use I2C functions in a RobotC program, nothing works even if I fix the I2CStatus and things like that .
The first error I found is the test of SensorType in common.h.
So I tried to simplify and I realized that the SensorType is always set to 0 (noSensor) even if I force it to another value
Running this code on EV3, I can see that the SensorType (toto) is always 0.
Maybe that's the reason why nothing can be done on I2C.
Can anyone confirm?