Time and Battery Indicators
|
10-25-2017, 02:47 AM
Post: #6
|
|||
|
|||
RE: Time and Battery Indicators
(10-24-2017 09:31 AM)webmasterpdx Wrote: You can get them by looking at the pixels set in the graphics and store them in global variables and then redraw them using the values gleaned. Look at the battery value I mentioned in a previous post on this thread. Thanks, yeah I saw the previous example of obtaining the battery level by pixels, however for my purposes it isn't really suitable. At first what I did was simply "paint over" the default header and not touch the battery & time graphic area, which is probably fine for short use, but the application I'm working on could potentially be run for extended periods (hours) without exiting. I would have to periodically call a dummy command for a brief fraction of a second that would repaint the default header to update the information to make it current, which is what I wanted to avoid. The 50g had annunciator display commands that I was thinking of, different scope for those of course since they were not part of the main display area, completely different logic for modes too, etc. This falls into the "nice to have" category but certainly not critical, but I still think it would be handy to have commands that would just draw over top of whatever is on G0 the desired info in the header area. FYI, in case anyone is interested, this is what I used to draw over top of the default header: Code: // IF B→R(Theme(1))==1 THEN |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Time and Battery Indicators - Jacob Wall - 10-22-2017, 09:30 PM
RE: Time and Battery Indicators - webmasterpdx - 10-22-2017, 10:04 PM
RE: Time and Battery Indicators - cyrille de brébisson - 10-23-2017, 01:43 PM
RE: Time and Battery Indicators - Jacob Wall - 10-24-2017, 05:45 AM
RE: Time and Battery Indicators - webmasterpdx - 10-24-2017, 09:31 AM
RE: Time and Battery Indicators - Jacob Wall - 10-25-2017 02:47 AM
RE: Time and Battery Indicators - webmasterpdx - 10-25-2017, 05:33 AM
RE: Time and Battery Indicators - webmasterpdx - 10-25-2017, 06:11 AM
RE: Time and Battery Indicators - Jacob Wall - 10-25-2017, 05:38 PM
RE: Time and Battery Indicators - Tim Wessman - 10-25-2017, 06:02 PM
RE: Time and Battery Indicators - Jacob Wall - 10-25-2017, 06:46 PM
RE: Time and Battery Indicators - Tim Wessman - 10-25-2017, 07:03 PM
RE: Time and Battery Indicators - Jacob Wall - 10-25-2017, 09:42 PM
RE: Time and Battery Indicators - webmasterpdx - 10-26-2017, 06:26 AM
|
User(s) browsing this thread: 1 Guest(s)