Shop Learn P1 Docs P2 Docs
jm-nextion object? — Parallax Forums

jm-nextion object?

I am an avid user of jm_objects.
I read in one jonnymac's posts he has an nextion object was it posted?
If anyone has a copy please send it to me or post the link.
I hope if jonnymac would post the object so many of us can have some fun with the nextion.

Thanks,

siri
msiri102@gmail.com

Comments

  • JonnyMacJonnyMac Posts: 8,314

    I am an avid user of jm_objects.

    Me, too! B)

    As you're posting in the P1 forum, I'm assuming you want a P1 object for the Nextion. I have not released one. I do have one, though, because I am working on a new P1-based product that uses a Nextion display. The attached screencap shows the methods in that object. If you think anything is missing, let me know. I will be finishing the get_text() method today and finalizing testing so that I can start the code for the new product on Monday.

    Note: You really need to have a good handle on Nextion behavior to take advantage of this object. If you can control the Nextion display through their simulator panel, you can do the same thing with this object.

    Last year I did presentations around the holidays and used the Nextion (without specific object) with the P2. The files for that presentation can be found here:
    -- https://drive.google.com/drive/folders/1O2WBlSsMPU0HXmIFsOftCd_bQgyeQ4fu

    You'll have to convert the P2 code to the P1.

    1920 x 1040 - 115K
  • msiriwardenamsiriwardena Posts: 301
    edited 2022-10-21 18:15

    @JonnyMac

    Thank you very much for expeditious reply.
    I will try the P1 version when you post it.

    Thank you again,

    siri

  • JonnyMacJonnyMac Posts: 8,314

    Well, you can help me help you by looking at the list of methods and thinking about what you want to do with the Nextion. Since I'm actively working on it, now is the time to ask for features.

  • @JonnyMac

    I made prototype neonatal ventilator. All the parameter settings are controlled by buttons via P1 and all the sensor out puts are I2C and are displayed on LCD screen and seven seg LED strips.
    My plan is to display all of them on nextion(7") and add an graphic display showing inspiratory phase expiaratory - visual representation of the whole respiratory cycle.All those buttons and the LCD,alarms etc
    will be in one display.
    Since the complete project is controlled by one P1 CHIP, compared to commercial ventilators have many chips doing the same work.
    This is my interest in the P1 nextion object.

    Thank you,

    siri

Sign In or Register to comment.