Page 1 of 1

software modification : add-on script OLED display

Posted: Sun Mar 26, 2023 9:12 am
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

Re: software modification : add-on script OLED display

Posted: Sun Mar 26, 2023 9:50 am
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)


Re: software modification : add-on script OLED display

Posted: Mon Mar 27, 2023 3:56 am
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

Re: software modification : add-on script OLED display

Posted: Mon Mar 27, 2023 1:23 pm
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.

Re: software modification : add-on script OLED display

Posted: Mon Mar 27, 2023 1:49 pm
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:

Re: software modification : add-on script OLED display

Posted: Mon Mar 27, 2023 2:36 pm
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>

Re: software modification : add-on script OLED display

Posted: Mon Mar 27, 2023 5:27 pm
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)


Re: software modification : add-on script OLED display

Posted: Wed Mar 29, 2023 1:43 pm
by FR5EC
OK tank you...
please wehre is MMDVMHost source ?

Re: software modification : add-on script OLED display

Posted: Wed Mar 29, 2023 6:31 pm
by KN2TOD
FR5EC wrote: Wed Mar 29, 2023 1:43 pm please wehre is MMDVMHost source ?
<https://github.com/g4klx/MMDVMHost>