nextion | A simple Nextion HMI library for Arduino
kandi X-RAY | nextion Summary
kandi X-RAY | nextion Summary
A simple Nextion HMI library for Arduino
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of nextion
nextion Key Features
nextion Examples and Code Snippets
Community Discussions
Trending Discussions on nextion
QUESTION
I am having trouble interfacing my Nextion display via Raspberry Pi. I have a Nextion project that contains one text field called t0. And I want to change the text displayed from Raspberry.
Here is what I tried:
...ANSWER
Answered 2022-Mar-23 at 15:38Instead of this:
QUESTION
I'm working with some interesting devices and some of them uses micropython and on this part have problem with encodings.
I need to make two devices communicating by UART-protocol.
First device (may it be Nextion Display) sends to second device (STM-32 with micropython on board) string 'hellobruh' via UART,
second device gets bytesarray b'\x80\x9ef\x06\x9e\xe0\x9e\xfe\x9e\x18\x86\xf8f~\x80\x9e'
so the first thing I should try in my python script is to use .decode('utf-8') but no encodings works to decode it back to 'hellobruh'. I've tried windows-1251, cp-***, iso-****-*, ascii. Tried also with just usual python3 - no results, so I've put all these tags here - problem is not special for any devices. What am i doing wrong? This example is so simple as helloworld app on any platform/lang, so I think it is not incorrent settings setted by me or any hardware problem, I think it is just I don't understand in full way which encoding I get on second device or how to decode it. Thanks to all!
...ANSWER
Answered 2021-Aug-05 at 23:29Be very careful when working with any devices. If you think it should be encoding problem, it could be wrong baudrate as example, which problem I got in this stuff. Even if it looks like you're doing all well and without errors. Question is solved.
QUESTION
I'm a total noob and just starting out with PlatformIO and Arduino/ESP32. I also want to say thanks in advance to any help I can get.
Plan:
I have 2 ESP32's talking over ESP_NOW, I just can't verify the data being sent in order to progress with my project. Basically, I have a Nextion display that sends specific info to an ESP32 (tested and working) and that ESP32 is then to send that information via ESP_NOW to the other ESP32 which will translate it into serial data to send to an Arduino Due and perform some tasks.
Problem:
The issue I have is that when I test, I see the data I think I am transmitting, but when I try to Serial.print said info, I get "0 0 0 0". I'm not sure that I am sending OR receiving the data properly. All I know is that when I press the button on the Nextion, I get a response on the ESP32 that is not connected.
Code:
...ANSWER
Answered 2021-May-24 at 13:22I was able to resolve my issue. Below is the code that displayed the same information that was sent from the host and received by the slave ESP32.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install nextion
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page