Quote:For me this looks like a problem on i2c communication because as long as there no second device on the i2c bus everything seems to be ok.Correct..You've not specified the address the oled should use..
Firstly.... Try specifying your oled address..as found (add -a 3c) That should fix it.
Code:
sudo ./mpd_oled -o 6 -a 3c -b 10 -g 1 -f 20 -R
Otherwise..
I wonder if there is a clash with 2 x i2c devices trying to share the same address....
Can you post the results of this both with the oled attached and without.
Code:
sudo i2cdetect -y 1
Often these oled displays have a link on the back that can be desoldered and moved resoldered to change the i2c address.
I often do this when I need to run 2 displays together.
Other options include a board that will give i2c addresses to attached displays...(I will post the details once I find mine)
----------
bob
bob