How can i set the time using the gui

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How can i set the time using the gui

1,872件の閲覧回数
Cui5222
Contributor II

Hello,

I want to set the time like the iphone, can guiguider realize this function.

image.pngimage.png

0 件の賞賛
返信
5 返答(返信)

1,822件の閲覧回数
Cui5222
Contributor II

I just want to diplay the textlabel like clock, not display time so i do not need to get the value of the RTC.

It just like the drop-down list, but it have two list to set the time both hour and min.image.png

0 件の賞賛
返信

1,815件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Cui5222,

I understood you wish to have a time selector like the calendar widget but for timing; is this correct?

In that case, you would use a timer module instead of the RTC, but the implementation of the scroller that selects hours and minutes would still have to be done manually using custom code.

BR,
Edwin.

0 件の賞賛
返信

1,801件の閲覧回数
Cui5222
Contributor II

So can gui-guider realize this function. Can the digital_clock module setted manual,or use other module.image.png

0 件の賞賛
返信

1,787件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Cui5222,

I'll pass this recommendation to the GUI Guider team. I'm sure they will find it useful.

0 件の賞賛
返信

1,853件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Cui5222,

You could do this using custom code, like described on the following post: How to display time - How-to - LVGL Forum.

As seen there, you can have custom code get the value of the RTC, and then display it on a text label. If you wish to set a different time, you could change the initial value of the RTC.

BR,
Edwin.

0 件の賞賛
返信