Nextion screen + br...
 
Notifications
Clear all

Nextion screen + brightness changing with potentiometer?

3 Posts
2 Users
0 Likes
997 Views
(@baluka1001)
New Member
Joined: 4 years ago
Posts: 2
Topic starter  

Hi!

 
I am using a 4.3 nextion screen (with a pro micro) with the Simhub and it is works perfectly, but i have been wondering that if it's possible to controll the brightness of the nextion screen with a potentiometer. I tried to adapt the dimscreen.ino example code (from the nextion library) to the nextionmicrobridge.ino code, but so far, it doesn't work. Maybe i am doing something wrong. So my question would be : is it possible to controll the brightness of the nextion with a potentiometer while the simhub is running?
 
Thank You for the answer!

   
Quote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 728
 

Hello !

No you can't the arduino is only acting as a "serial bridge" to the nextion and if you try to send data from ther arduino you will mix with computer sent data and corrupt it.

Nicolas


   
ReplyQuote
(@baluka1001)
New Member
Joined: 4 years ago
Posts: 2
Topic starter  

And theoritically, is it possible to include the feature in the Simhub? (I mean, the brightness changing)


   
ReplyQuote
Share: