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: AustraliaPosts: 13 |
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: AustraliaPosts: 5918 |
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: AustraliaPosts: 13 |
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 KingdomPosts: 8600 |
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 details |
||||
vk5la Newbie Joined: 05/03/2017 Location: AustraliaPosts: 13 |
Thanks Mather, That works a treat. Andy VK5LA Andy (VK5LA) Winkie, S.A. |
||||
Print this page |