OpenMarine

Full Version: LCD JLX12864 flashing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
I for one suspect the initialisation sequence, looking at https://github.com/bitbank2/uc1701/blob/master/uc1701.c and https://github.com/olikraus/u8g2/blob/ma...d_st7567.c there are some differences worth to be tested...
my driver may be different because you can plug and unplug the display at any time and it still works, so it resets all the registers every frame, but this may cause a refresh somehow.
I am not sure what is going on exactly but I think I fixed it:

https://github.com/pypilot/pypilot/commi...37b3dbc104
Did you try adding a small delay between each boost command ?

Because in u8g2 I see this:
/* power on sequence from paxinstruments */
U8X8_C(0x028|4), /* all power control circuits on */
U8X8_DLY(50),
U8X8_C(0x028|6), /* all power control circuits on */
U8X8_DLY(50),
U8X8_C(0x028|7), /* all power control circuits on */
U8X8_DLY(50),

Just wondering...
Is this change compatible with both old and new displays ?

I just tested and it seems it works with my older JLX displays
Thanks Sean! Yes it works on both old and new version display!
I wonder why it works.
Yes it''s work on openplotter/Raspi3b after updating via

git clone https://github.com/pypilot/openplotter-pypilot
cd openplotter-pypilot
sudo python3 setup.py install
and:
edit the hat.conf "default" to jlx12864

Thanks

I also have a Tinypilot on a zero w (Build with the manual https://github.com/AndreasW29)
If I want to do the update like in the workbook

cd
mkdir pypilot-update
cd pypilot-update/
git clone git://github.com/pypilot/pypilot
git clone --depth 1 git://github.com/pypilot/pypilot_data
cp -rv pypilot_data/* pypilot
cd pypilot
. pypilot.build

the git command is not executed "fatal: unable to connect to github.com"
pink google.com works for example. I don't know what mistake I'm making.
github removed support for unauthenticated git recently : https://github.blog/changelog/2022-03-15...-ssh-keys/

You can clone over https as you did for openplotter: instead of git://github.com/pypilot/pypilot use https://github.com/pypilot/pypilot and same thing for pypilot_data.
I had already tried that, but unfortunately no https connections via git seem to be established with Tinypilot images. Fatal error: Cannot find remote helper for 'https'
Pages: 1 2 3 4