Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi
#91
Hi JohnnyBravo

Thanks for reporting this error.

This isn't something I know about, but I dumped the databse and noticed the line


Code:
CREATE TRIGGER ro_columns BEFORE UPDATE OF param, value, [action] ON cfg_hash FOR EACH ROW BEGIN SELECT RAISE(ABORT, 'read only'); END;

I therefore ran


Code:
sudo sqlite3 /var/local/www/db/moode-sqlite3.db "DROP TRIGGER ro_columns"

And I could now run the sqlite3 commands without the "read only" error.

If you try this, please let me know how the rest of the install goes.

Adrian.
Reply
#92
Hi Adrian,

I just ran your sqlite command with success, after which the other ones also worked!

I'm still waiting for my oled display to arrive in the post, but following the installation instructions (with the added sqlite command that you mentioned) all work fine.
I'm now at the point where i should start testing the oled display...hoping for the delivery guy to show up soon :-)

Thanks for your help!
Reply
#93
I worked through the rest of the install and everything is working fine. I have updated the install instructions for Moode 5,2.

Adrian.
Reply
#94
Russian fonts are displayed on the image of the Audophonics RaspDAC Mini Kit http://moodeaudio.org/forum/showthread.php?tid=664
Reply
#95
Hi RD4I

mpd_oled only handles Latin alphabets. The abilty to handle other alphabets has been raised as issue

   https://github.com/antiprism/mpd_oled/issues/9

I am currently investigating the possibiltiy of using the U8g2 library for mpd_oled, as it will support more display hardware and will also allow non-Latin characters to be printed.

Adrian.
Reply
#96
(01-28-2019, 10:44 PM)DRONE7 Wrote: Perfect ! Does exactly what I had hoped.
I simply paralleled the display connections, re-soldered the resistor on one display to change the address, followed Adrian's instructions and it works fine. (Dummy fifo not needed)

Once I have the case back together I'll post some images.

Finally got around to re-casing this and taking some photos...
http://moodeaudio.org/forum/showthread.p...0#pid11170
----------
bob
Reply
#97
Hi,
I just installed 5.3 when I performed the OLED install, which failed.
i2detect has given the following error message :Error: Could not open file `/dev/i2c-1' or `/dev/i2c/1': No such file or directory
On the 4.4 system is now operating the display.
Thanks for your help! D'
Reply
#98
Hi Bob

Nice work on the case. Looks good.

If you want to disable the clock screen on the spectrum display OLED then you could change the clock drawing function in main.cpp to look like


Code:
void draw_clock(ArduiPi_OLED &display, const display_info &disp_info)
{
  display.clearDisplay();
}

Adrian.
Reply
#99
Hi Deenoo

Have you made all the system file changes?

In /boot/config.txt you should have the line: dtparam=i2c_arm=on

In /etc/modules you should have the line: i2c-dev

Also, you should reboot to enable changes made to these files.

Adrian.
Reply
(06-16-2019, 06:09 PM)adrii Wrote: Hi Deenoo

Have you made all the system file changes?

In /boot/config.txt you should have the line: dtparam=i2c_arm=on

In /etc/modules you should have the line: i2c-dev

Also, you should reboot to enable changes made to these files.

Adrian.

Hi Adrian
The /boot/config.txt is ok.
I can't find / etc / modules
How can I get /etc/modules?
please give the whole command line Smile Thank you!
Reply


Forum Jump: