- Posts: 4402
- Forum
- News, Announcements and Feedback
- Feedback & Questions
- PB, request for code review and merge back(2)
PB, request for code review and merge back(2)
- PhracturedBlue
- Offline
you should have a choice of having data-strings and toggle buttons, and what they are each configured to do.
So lets say you can fit 8 'text boxes' onto the screen,
you should have the choice of what is shown in each box. If a box isn't configured, it can be used for toggle icons (maybe you can fit 2 toggle icons into the space of one text box?). Alternatively we could use a string rather than an icon for the toggles, but I don't think the toggle icons need to be very big. just a rectangle with a letter in it.
If 4 consecutive boxes aren't used, they could show the model icon (though I'm not sure there is actually any value in that for the limited screen size)
I probably wouldn't allow configuration of the trims, and probably not the ability to show channel-bars, since I think screen estate is too small to enable that.
Please Log in or Create an account to join the conversation.
- suvsuv
- Topic Author
- Offline
- Posts: 268
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I've pulled all your changes.
Please Log in or Create an account to join the conversation.
- suvsuv
- Topic Author
- Offline
- Posts: 268
Please Log in or Create an account to join the conversation.
- sbstnp
- Offline
- Posts: 649
suvsuv wrote: The page of Main page config is also done in devo10
Amazing job!
Or not, just built the emulator and looks nice and symmetric with the toggles on the left.
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- suvsuv
- Topic Author
- Offline
- Posts: 268
Currently, my devo10 is quite stable based on my fly experience these days.
Update: Just remember that I might improve the following options
1) auto-dimmer options: allow to turn off the LCD, not just the backlight
2) change duration of timer alarm.
These 2 changes should be done in the tx-configure page and the model page, shouldn't need extra UI pages.
PB, do you know the commands to turn off/on LCD in devo8 and devo10, instead of invoking LCD_Init()?
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
LCD_Sleep() on the Devo8 should work.suvsuv wrote: Update: Just remember that I might improve the following options
1) auto-dimmer options: allow to turn off the LCD, not just the backlight
2) change duration of timer alarm.
These 2 changes should be done in the tx-configure page and the model page, shouldn't need extra UI pages.
PB, do you know the commands to turn off/on LCD in devo8 and devo10, instead of invoking LCD_Init()?
on the Devo10 it is lcd_display(0);
Please Log in or Create an account to join the conversation.
- suvsuv
- Topic Author
- Offline
- Posts: 268
then what about releasing the sleep mode in devo8?PhracturedBlue wrote:
LCD_Sleep() on the Devo8 should work.suvsuv wrote: Update: Just remember that I might improve the following options
1) auto-dimmer options: allow to turn off the LCD, not just the backlight
2) change duration of timer alarm.
These 2 changes should be done in the tx-configure page and the model page, shouldn't need extra UI pages.
PB, do you know the commands to turn off/on LCD in devo8 and devo10, instead of invoking LCD_Init()?
on the Devo10 it is lcd_display(0);
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- suvsuv
- Topic Author
- Offline
- Posts: 268
BTW, I have tested my devo10, the LCD_display(0) can let LCD sleep and LCD_display(1) can have it waked up. It does work in devo10
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Note, I just checked in code touching the tx_config files. I moved telemetry units from the telemconfig to the tx_config.
Please Log in or Create an account to join the conversation.
- xCometz
- Offline
- Posts: 18
To get real sleep mode you must write following to lcd
to sleep mode
0xAC static indicator off
0xAE display off
0xA5 entire display on
wake up from sleep mode
0xAF display on
0xAD enter static display on (1st command)
0x03 static on normal (2nd command)
Please Log in or Create an account to join the conversation.
- FDR
- Offline
PhracturedBlue wrote: Note, I just checked in code touching the tx_config files. I moved telemetry units from the telemconfig to the tx_config.
...and splitted the settings on two pages.
Now that there is enough space, can I ask for some grouping the related items on those pages?
For example group the stick mode and calibration together, or all the display related things like screen calibration with the backlight and dimmer settings.
And the telemetry units and the language together form the localization too.
The only question is which settings are more important to place the first page...
BTW the scrolling has a bug: if you scroll down, then switch to an other page with left/right and then back, the second page will be shown, but the scrollbar position is up.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Feel free to experiment as you like. If you find a setup you like, let me know.FDR wrote:
PhracturedBlue wrote: Note, I just checked in code touching the tx_config files. I moved telemetry units from the telemconfig to the tx_config.
...and splitted the settings on two pages.
Now that there is enough space, can I ask for some grouping the related items on those pages?
The code will work the same if you move the relevant lines with respect to each other. It should be pretty straight forward. Everything is in pages/320x240x16/tx_configure.c
A few notes:
a) language should be 1st on the 1st page. If you don't speak the default language, it should be easy to get to and change (this is something I want to fix on Devo10 too, but I'm not sure how yet)
b) I think touch calibration should be on the 1st page too since it should be easy to get to to make the screen work, but I'm less sure on this one.
Thanks, I've fixed it.BTW the scrolling has a bug: if you scroll down, then switch to an other page with left/right and then back, the second page will be shown, but the scrollbar position is up.
Please Log in or Create an account to join the conversation.
- suvsuv
- Topic Author
- Offline
- Posts: 268
Please don't do that. In devo8, touching is used to scroll up/down among pages.PhracturedBlue wrote:
Feel free to experiment as you like. If you find a setup you like, let me know.FDR wrote:
PhracturedBlue wrote: Note, I just checked in code touching the tx_config files. I moved telemetry units from the telemconfig to the tx_config.
...and splitted the settings on two pages.
Now that there is enough space, can I ask for some grouping the related items on those pages?
The code will work the same if you move the relevant lines with respect to each other. It should be pretty straight forward. Everything is in pages/320x240x16/tx_configure.c
A few notes:
a) language should be 1st on the 1st page. If you don't speak the default language, it should be easy to get to and change (this is something I want to fix on Devo10 too, but I'm not sure how yet)
b) I think touch calibration should be on the 1st page too since it should be easy to get to to make the screen work, but I'm less sure on this one.
Thanks, I've fixed it.BTW the scrolling has a bug: if you scroll down, then switch to an other page with left/right and then back, the second page will be shown, but the scrollbar position is up.
But in devo10, up/down is used to scroll up/down among items, and right/left is used to change item options, how to scroll up/down among pages quickly ?
Actually, I prefer putting telemtry config back to telemetry monitor pages.
Though devo10 should have exactly the same functionalities as devo8, they could have different UI presentation. And in devo10, add more menu items is better than adding more items into a configure pages, in order to get to expected items as quick as possible
Please Log in or Create an account to join the conversation.
- suvsuv
- Topic Author
- Offline
- Posts: 268
Run a quick test to measure current consumption between LCD standby/sleep and normal more, entering standby mode can only save less than 1mA when backlight is off, I don't think it is a very meaningful feature to be implemented in devo10.xCometz wrote: if you just playing with display on/off, maybe you just entering standby mode.
To get real sleep mode you must write following to lcd
to sleep mode
0xAC static indicator off
0xAE display off
0xA5 entire display on
wake up from sleep mode
0xAF display on
0xAD enter static display on (1st command)
0x03 static on normal (2nd command)
PB, please verify whether you see big power saving in devo8 by putting LCD to sleep or standby mode when you had time.
Backlight=1, Txpower=10mW | Backlight= off | Backlight=off, LCD sleep | Backlight=off, LCD standby | |
Current consumption | 114.5mA | 99mA | 99mA | 98.2mA |
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I have no idea what you are talking about. nothing I or FDR discussed would affect how page-changes happen on the devo10.suvsuv wrote: Please don't do that. In devo8, touching is used to scroll up/down among pages.
But in devo10, up/down is used to scroll up/down among items, and right/left is used to change item options, how to scroll up/down among pages quickly ?
No, it definitely makes much more sense where it is now. It is a transmitter property. It should not be set for each model, but once for each transmitter.Actually, I prefer putting telemtry config back to telemetry monitor pages.
Though devo10 should have exactly the same functionalities as devo8, they could have different UI presentation. And in devo10, add more menu items is better than adding more items into a configure pages, in order to get to expected items as quick as possible
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I wouldn't worry about it honestly. I don't think you're going to see a sizeable power savings.suvsuv wrote: PB, please verify whether you see big power saving in devo8 by putting LCD to sleep or standby mode when you had time.
Please Log in or Create an account to join the conversation.
- Forum
- News, Announcements and Feedback
- Feedback & Questions
- PB, request for code review and merge back(2)
- Home
- Forum
- News, Announcements and Feedback
- Feedback & Questions
- PB, request for code review and merge back(2)