nxtbasic : clock_set_date_time
Posted: Fri Jul 26, 2024 11:35 am
hallo, guten tag.
Call address: $FF4D
how can I do this in nxtbasic :
---------------------------
Function Name: clock_set_date_time
Purpose: Set the date and time
Call address: $FF4D
Communication registers: r0 r1 r2 r3
Preparatory routines: None
Error returns: None
Registers affected: .A .X .Y
Description: The routine clock_set_date_time sets the system's real-time-clock.
Register Contents
r0L year (1900-based)
r0H month (1-12)
r1L day (1-31)
r1H hours (0-23)
r2L minutes (0-59)
r2H seconds (0-59)
r3L jiffies (0-59)
r3H weekday (1-7)
--------------------------
thanks
greeting
Call address: $FF4D
how can I do this in nxtbasic :
---------------------------
Function Name: clock_set_date_time
Purpose: Set the date and time
Call address: $FF4D
Communication registers: r0 r1 r2 r3
Preparatory routines: None
Error returns: None
Registers affected: .A .X .Y
Description: The routine clock_set_date_time sets the system's real-time-clock.
Register Contents
r0L year (1900-based)
r0H month (1-12)
r1L day (1-31)
r1H hours (0-23)
r2L minutes (0-59)
r2H seconds (0-59)
r3L jiffies (0-59)
r3H weekday (1-7)
--------------------------
thanks
greeting