Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:23 08 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MM+ Pump Control Demo.

Author Message
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 03:24pm 27 Jul 2016
Copy link to clipboard 
Print this post

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: Australia
Posts: 3282
Posted: 04:34pm 27 Jul 2016
Copy link to clipboard 
Print this post

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: Australia
Posts: 1667
Posted: 12:52pm 28 Jul 2016
Copy link to clipboard 
Print this post

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: Australia
Posts: 1667
Posted: 12:34am 29 Jul 2016
Copy link to clipboard 
Print this post

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.
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025