03-27-2021, 06:42 PM
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
03-28-2021, 04:52 AM
Working perfectly as expected....
03-29-2021, 08:20 AM
03-29-2021, 09:30 AM
Hi ROCH23
Your message appeared in Russion, here is the Google translation
Hello everyone!
I apologize for my English, I am Russian myself, I use a Google translator.
Tell me where to look for the reason?
After starting in 7.0.1 mode, everything is fine, after a while the top line
moves to the bottom, after the reset everything is fine, where to look for the cause?
There is an old issue raised for this
https://github.com/antiprism/mpd_oled/issues/3
I reopened it recently as there was a new report
https://community.volumio.org/t/oled-spe...w/8067/224
A couple of messages lower I propose a fix for this, which appears to work, and you could install
https://community.volumio.org/t/oled-spe...w/8067/227
If you do install this, make sure you use the install instructiond for the branch
https://github.com/antiprism/mpd_oled/tree/offset_fix
I will apply the fix to the main branch, but probably not until after Easter.
Adrian.
Your message appeared in Russion, here is the Google translation
Hello everyone!
I apologize for my English, I am Russian myself, I use a Google translator.
Tell me where to look for the reason?
After starting in 7.0.1 mode, everything is fine, after a while the top line
moves to the bottom, after the reset everything is fine, where to look for the cause?
There is an old issue raised for this
https://github.com/antiprism/mpd_oled/issues/3
I reopened it recently as there was a new report
https://community.volumio.org/t/oled-spe...w/8067/224
A couple of messages lower I propose a fix for this, which appears to work, and you could install
https://community.volumio.org/t/oled-spe...w/8067/227
If you do install this, make sure you use the install instructiond for the branch
https://github.com/antiprism/mpd_oled/tree/offset_fix
I will apply the fix to the main branch, but probably not until after Easter.
Adrian.
03-29-2021, 11:20 AM
Adrian, thank you very much for the technically competent answer!
The I2C 15-CM wires of the display setting were mpd_oled -o 4 -b 32 -g 1 -f 20,
bus speed dtparam = i2c_arm_baudrate = 800000
Changed the setting to mpd_oled -o 4 -b 32 -g 1 -f 15, dtparam = i2c_arm_baudrate = 400000 until I watched from the surface of the line for an hour!
Didn't change wires, changed only F and i2c speed
After 1.5 hours, the line moved down. speed settings don't help.
Thanks a lot Adrian!
The I2C 15-CM wires of the display setting were mpd_oled -o 4 -b 32 -g 1 -f 20,
bus speed dtparam = i2c_arm_baudrate = 800000
Changed the setting to mpd_oled -o 4 -b 32 -g 1 -f 15, dtparam = i2c_arm_baudrate = 400000 until I watched from the surface of the line for an hour!
Didn't change wires, changed only F and i2c speed
After 1.5 hours, the line moved down. speed settings don't help.
Thanks a lot Adrian!
03-29-2021, 11:52 AM
Hi ROCH23
If you are using mpd_oled -o4 then the branch I made to fix this won't help, as it is only used for SSD1306 and SSH1106 OLEDs. I will see if I can find time to update the main branch of mpd_oled sometime this week, and I will add support for your OLED to the fix when I do this. I will post here when the update is available.
Adrian.
If you are using mpd_oled -o4 then the branch I made to fix this won't help, as it is only used for SSD1306 and SSH1106 OLEDs. I will see if I can find time to update the main branch of mpd_oled sometime this week, and I will add support for your OLED to the fix when I do this. I will post here when the update is available.
Adrian.
03-29-2021, 12:15 PM
Adrian, my display works with two configurations, and both have line feeds to the bottom.
mpd_oled -o 4 -b 32 -g 1 -f 15 mpd_oled -o 3 -b 32 -g 1 -f 15.
If you fix the code, you can write it in a personal message, I will test it and write the result.
Thanks Adrian!
Adrian, what needs to be done to make the display show the Russian Cyrillic alphabet, edit the script, or is it a display without the Russian Cyrillic alphabet?
mpd_oled -o 4 -b 32 -g 1 -f 15 mpd_oled -o 3 -b 32 -g 1 -f 15.
If you fix the code, you can write it in a personal message, I will test it and write the result.
Thanks Adrian!
Adrian, what needs to be done to make the display show the Russian Cyrillic alphabet, edit the script, or is it a display without the Russian Cyrillic alphabet?
03-29-2021, 01:56 PM
Hi ROCH23
If you can run your display with 'mpd_oled -o3' then the offset_fix branch should fix the issue for you if you specify -o3.
There is no support for non-Latin alphabets in the current mpd_oled. However, I am in the process of switching to U8G2 for the OLED controllers and graphics, and this includes a lot of fonts, and so it is likely that Cyrillic and other alphabets will be supported in the future.
Adrian.
If you can run your display with 'mpd_oled -o3' then the offset_fix branch should fix the issue for you if you specify -o3.
There is no support for non-Latin alphabets in the current mpd_oled. However, I am in the process of switching to U8G2 for the OLED controllers and graphics, and this includes a lot of fonts, and so it is likely that Cyrillic and other alphabets will be supported in the future.
Adrian.
03-29-2021, 04:18 PM
Adrian, tried typing the command in SSH git clone -b offset_fix https://github.com/antiprism/mpd_oled.git
grep reset_offset main.cpp
Last login: Mon Mar 29 21:52:38 2021 from 192.168.0.137
pi@moode:~ $ git clone -b offset_fix https://github.com/antiprism/mpd_oled.git
fatal: destination path 'mpd_oled' already exists and is not an empty directory.
pi@moode:~ $ grep reset_offset main.cpp
grep: main.cpp: No such file or directory
pi@moode:~ $ Last login: Mon Mar 29 21:52:38 2021 from 192.168.0.137
pi@moode:~ $
tried changing the display setting from mpd_oled -o 3 to 'mpd_oled -o3, didn't help!
grep reset_offset main.cpp
Last login: Mon Mar 29 21:52:38 2021 from 192.168.0.137
pi@moode:~ $ git clone -b offset_fix https://github.com/antiprism/mpd_oled.git
fatal: destination path 'mpd_oled' already exists and is not an empty directory.
pi@moode:~ $ grep reset_offset main.cpp
grep: main.cpp: No such file or directory
pi@moode:~ $ Last login: Mon Mar 29 21:52:38 2021 from 192.168.0.137
pi@moode:~ $
tried changing the display setting from mpd_oled -o 3 to 'mpd_oled -o3, didn't help!
03-29-2021, 05:17 PM
Hi ROCH23
The install instructions are
https://github.com/antiprism/mpd_oled/bl...L_MOODE.md
The only thing that is differerent is that you will run the mpd_oled clone command that gets the branch with the fix (instead of the git clone command for mpd_oled in the instructions)
The error you got is because there was already an mpd_oled subdirectory, so you could just delete this directory first, or start the installation in a different directory.
If you are running Moode 7.1 you will need the latest instructions for setting up the audio copy for the spectrum (don't run any patch command if you are running Moode 7.1)
https://github.com/antiprism/mpd_oled/issues/65
[There was a major update to mpd_oled and a new version of Moode since I made the branch to fix this issue, and so the instructions to install it are now a bit more complicated.]
Adrian.
The install instructions are
https://github.com/antiprism/mpd_oled/bl...L_MOODE.md
The only thing that is differerent is that you will run the mpd_oled clone command that gets the branch with the fix (instead of the git clone command for mpd_oled in the instructions)
Code:
git clone -b offset_fix https://github.com/antiprism/mpd_oled.git
The error you got is because there was already an mpd_oled subdirectory, so you could just delete this directory first, or start the installation in a different directory.
If you are running Moode 7.1 you will need the latest instructions for setting up the audio copy for the spectrum (don't run any patch command if you are running Moode 7.1)
https://github.com/antiprism/mpd_oled/issues/65
[There was a major update to mpd_oled and a new version of Moode since I made the branch to fix this issue, and so the instructions to install it are now a bit more complicated.]
Adrian.