software modification : add-on script OLED display

All things relating to OLED Screen(s)
Post Reply
FR5EC
Posts: 4
Joined: Thu Mar 23, 2023 6:00 am

software modification : add-on script OLED display

Post by FR5EC »

Hello,
I would like to add (in Python) on the MMDVM screensaver:
- the temperature of the CPU;
- the IP address of the HotSpot.
For this I would like to know where this file is in the arborescence?
TKS 73
Jean-Claude FR5EC
M1DNS
Pi-Star Team
Posts: 1388
Joined: Thu Apr 05, 2018 5:30 am

Re: software modification : add-on script OLED display

Post by M1DNS »

The software to build a screen is a seperate tool. You use it to make use of the codes given it by mmdvmhost.

Once you build your screen, you then compile it and load it into the screen. usually by way of the SD card slot on the screen itself.

A v.good FB group here for all this...

https://www.facebook.com/groups/Nextion/?ref=share

If not Rob who runs that group also has his screens available on his git site...

https://github.com/PD0DIB/Nextion_HAM-r ... aster/docs



Sent via smoke signals from my SM-G935F M1DNS (Admin)

Andrew M1DNS.
Pi-star Admin Team.
FR5EC
Posts: 4
Joined: Thu Mar 23, 2023 6:00 am

Re: software modification : add-on script OLED display

Post by FR5EC »

Hello Andrew,
Thank you for your answer,
you offer me two links oriented screen NEXTION.
But I have a 1.3-inch OLED screen White, 128x 64, SPI IIC I2C Link ...
Where is the existing script so I can modify the code as desired?
73s
Jean-Claude
KN2TOD
Posts: 264
Joined: Sun Nov 11, 2018 6:36 pm

Re: software modification : add-on script OLED display

Post by KN2TOD »

The "script" for OLED's is embedded in the MMDVMHOST program; any changes would require a re-compile of that program - not as trivial a task as loading new firmware in a Nextion screen.
FR5EC
Posts: 4
Joined: Thu Mar 23, 2023 6:00 am

Re: software modification : add-on script OLED display

Post by FR5EC »

I understand...
but I would like to know where the mmdvm program is in the tree view in order
to access, modify and compile it.

PS : I should point out that I am a retired programmer analyst! Hi! :ugeek:
KN2TOD
Posts: 264
Joined: Sun Nov 11, 2018 6:36 pm

Re: software modification : add-on script OLED display

Post by KN2TOD »

If by "tree" view you mean the directory where the program resides: /usr/local/bin

The source can be found here: <https://github.com/g4klx/MMDVMHost>
M1DNS
Pi-Star Team
Posts: 1388
Joined: Thu Apr 05, 2018 5:30 am

Re: software modification : add-on script OLED display

Post by M1DNS »

Ah ok yeah mistook screen for Nextion not Oled. As replied above, Oled setup is compiled within mmdvmhost itself.

Sent via smoke signals from my SM-G935F M1DNS (Admin)

Andrew M1DNS.
Pi-star Admin Team.
FR5EC
Posts: 4
Joined: Thu Mar 23, 2023 6:00 am

Re: software modification : add-on script OLED display

Post by FR5EC »

OK tank you...
please wehre is MMDVMHost source ?
Last edited by FR5EC on Wed Mar 29, 2023 1:57 pm, edited 1 time in total.
KN2TOD
Posts: 264
Joined: Sun Nov 11, 2018 6:36 pm

Re: software modification : add-on script OLED display

Post by KN2TOD »

FR5EC wrote: Wed Mar 29, 2023 1:43 pm please wehre is MMDVMHost source ?
<https://github.com/g4klx/MMDVMHost>
Post Reply