I've been having (probably) the same symptom as kit1cat with LMSMonitor
0.4.42 and the Audiophonics Raspdac Mini kit using a Pi4/2GB RAM - the
display simply doesn't light up. My display pcb is visually a match for
kit1cat's. It works fine with lms_oled_1.54_spi_audiophonics3.py
(although font rendering is blocky on pcp 6.1.0 due to a very old
libfreetype).
I am no expert by any stretch but found that things improve with the
clock divider increased to BCM2835_SPI_CLOCK_DIVIDER_32 in
ArduiPi_OLED.cpp. Also -o 1 seems to be the right mode for this
hardware as there are some wrapping artifacts/noise with -o 7. From
there I can get a splash screen and title / elapsed counter / digital
clock with the player stopped. The canvas is rendered upside down with
the suggested command line but -F does in fact flip it (mismatch between
code and doc :).
I've not had much success with the visualizations yet but haven't tried
building the sse directory. Will play with that maybe tomorrow.
After running LMSMonitor (or other program derived from
ArduiPi_OLED/bcm2835) a reboot is needed before the luma.oled python
script will light up the display again. It gives this complaint the
first time, but not on subsequent runs. It would be nice if there was a
way to reset things to a clean state on exit.
Code:
--------------------
/usr/local/lib/python3.6/site-packages/luma/core/interface/serial.py:185:
RuntimeWarning: This channel is already in use, continuing anyway. Use
GPIO.setwarnings(False) to disable warnings.
self._gpio.setup(pin, self._gpio.OUT)
--------------------
Last but not least, LMSMonitor is really wonderful! Thank you for the
recent updates!!
------------------------------------------------------------------------
gregex's Profile: http://forums.slimdevices.com/member.php?userid=70355
View this thread: http://forums.slimdevices.com/showthread.php?t=111790
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix