Hello,
Very new and would appreciate any pointers. I have an interface where I am getting the current time from a GPS and then want to set the system time to match. I'm having trouble figuring out how to convert, the time (hours, minutes, seconds, decimal) to a TIME_STRUCT needed by _time_set().
Any ideas?
Thanks!
解決済! 解決策の投稿を見る。
Fill in a DATE_STRUCT and use _time_from_date, or fill in an MQX_XDATE_STRUCT, use _time_xdate_to_ticks followed by _time_set_ticks.
Fill in a DATE_STRUCT and use _time_from_date, or fill in an MQX_XDATE_STRUCT, use _time_xdate_to_ticks followed by _time_set_ticks.