![]() |
Forum Index : Microcontroller and PC projects : MM+ Pump Control Demo.
Author | Message | ||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
Geoff's Demo - Page 36 Addendum. Just wondering it this would be able to be run on an ILI9341 with the appropriate modifications? Don't have any of my bigger screens set up yet, but do have an MM+ with a 2.8" screen going. Apart from changing some sizes & positions, are there other limitations of the serial screen that would stop me trying this? Thanks Phil. |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3282 |
No, nothing. It should work the same after modifications to suit the smaller screen size. Geoff Geoff Graham - http://geoffg.net |
||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
Thanks Geoff, Just finished scaling it down & it's working fine. Made a couple of observations; Back Light errors, but probably to be expected, as it does report "SSD1963 display only". Other thing I notice, is when I toggle the switch, In the "ON" position the word "OFF" is greyed out, but in the "OFF" position the word "ON" stays highlighted. Cheers Phil. Here's the re-scaled code if anyone else wants to give it a try on an ILI9341. 2016-07-28_225202_Pump_Control_Demo_for_320x240.zip |
||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
The other interesting thing I've discovered & haven't heard mentioned regarding the GUI is:- If I run the demo code; Then Break to the command prompt (Ctrl-C); The GUI objects still remain active; Caught me out first time I crashed it by changing the Backlight, which of course causes a not supported error, but it had me wondering for a bit why the running LED stopped toggling when I changed the switch. A bit curious to hear about this behaviour; Looks like the GUI objects run independent of the main MMbasic code & continue in the background despite the state of the main code. Cheers Phil. |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |