ok so the earlier /usr/xenomai/include/xenomai/init.h: Input/output error
no longer appears. That's good to know, at what point did it disappear? In general, it would be more useful for remote debugging to include a complete error every time you can.
What is happening now is that the multiplexer seems to be initialised successfully, however the display is not working. Did you connect one or more displays to the multiplexer?
As I mentioned earlier:
giuliomoro Then to select the current screen call tca.select(x); before writing to the display, where x is the multiplexer channel you want to enable (use -1 to disable all channels). I think you may have to duplicate code the initialisation code for each screen you are using.
So you could try to add, e.g.: tca.select(0)
at the top of the main()
function to enable the first channel. If you have a screen connected to the correct pins on the multiplexer - and I got everything right - the rest of the program should run and display text on that screen.