The later IDE support animation and video. Maybe you can include these features also?
Ioannis
The later IDE support animation and video. Maybe you can include these features also?
Ioannis
LOL I can't make on screen button to change value on some pin, animations? too early![]()
Yes, I do have a 10" one to test it. The demo that is loaded is very interesting but they do not have it on-line. Unfortunately I have not figured how one can do such a programming on these LCD's.
These videos are from the demo 10" capacitive LCD.
Ioannis
Hi mpgmike.
Do you have any comments about adapting your example code from the magazine article for a PIC18LF26K80 at 64mhz?
Not sure if I was allowed to post it here? But it is downloadable from the N&V site.
Thanks Peter
The article used a PIC16F18426, because that's what I needed for the Small Engine Ignition Timing Controller. Using a PIC18F would require different CONFIGs and probably different SFR bits, but should work otherwise just talking to the Nextion. The K80 doesn't have enough Timers to do the full Timing Controller project.
As for those videos, just upload 4 or 8 frames of the moving picture. Use the Timer feature (tm0) with a Variable (va0) to track sequence and the vis command to show each picture in sequence. Timer code should look like this
Code:if(va0.val==1) { vis p0,1 vis p1,0 vis p2,0 vis p3,0 }else if(va0.val==2) { vis p0,0 vis p1,1 vis p2,0 vis p3,0 }else if(va0.val==3) ..... } va0.val+=1 if(va0.val==5) { va0.val=1 }
Bookmarks