Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 05:29 11 May 2024 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 : Micromite + LCD Backpack configuration...

Author Message
vk5la
Newbie

Joined: 05/03/2017
Location: Australia
Posts: 13
Posted: 09:05pm 16 Mar 2017
Copy link to clipboard 
Print this post

Hi all,
First post, just soldered up a plus backpack and all seems good.
I have it talking to terra term via the USB port and I can go in and set up the back light, display and touch.
My question is, should it remember these settings?
Every time I reset I have to enter the backlight, display type and touch setting again...is this normal?
I thought this info was saved in nv ram within the chip.
I've had a look around and can't see any documentation about "saving" any config.
Total beginner question, this is my first attempt at a micro controller...

Andy
VK5LA
Andy (VK5LA)
Winkie, S.A.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5918
Posted: 09:30pm 16 Mar 2017
Copy link to clipboard 
Print this post

Hi and welcome.
Many of the OPTIONs are remembered with power removed.
You should be able to set the display type and calibrate the touch and have those options remembered without you having to save them.

How are you 'resetting' the micromite?

Jim (VK7JH)
VK7JH
MMedit   MMBasic Help
 
vk5la
Newbie

Joined: 05/03/2017
Location: Australia
Posts: 13
Posted: 10:02pm 16 Mar 2017
Copy link to clipboard 
Print this post

Hi, thanks for the prompt response Jim,
Turns out that it has actually saved the config from the options set for the LCD and touch.
Only the backlight needs to switched on every time it's powered up.
Is there a way to have the backlight turn on when the unit is powered up?

Andy
VK5LA
Andy (VK5LA)
Winkie, S.A.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8600
Posted: 10:37pm 16 Mar 2017
Copy link to clipboard 
Print this post

Create a subroutine MM.STARTUP that contains the command to turn on the backlight
then save this in the library. That will then be run automatically each time the processor is reset or powers up. Also it won't be erased when you load a new program until you use LIBRARY DELETE

Se the manual section "Special Functions and the Library" for more detailsEdited by matherp 2017-03-18
 
vk5la
Newbie

Joined: 05/03/2017
Location: Australia
Posts: 13
Posted: 03:18am 17 Mar 2017
Copy link to clipboard 
Print this post

Thanks Mather,
That works a treat.

Andy
VK5LA
Andy (VK5LA)
Winkie, S.A.
 
Print this page


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

© JAQ Software 2024