/* The 8-tuple has the same format as CPython's datetime object:  */
STATIC mp_obj_t pyb_rtc_datetime(mp_obj_t self, const mp_obj_t datetime)
/* The 8-tuple has the same format as CPython's datetime object:  */
STATIC mp_obj_t pyb_rtc_datetime(mp_obj_t self, const mp_obj_t datetime)
{
        useconds = pyb_rtc_datetime_s_us(datetime, &seconds);
        pyb_rtc_set_time (seconds, useconds / 1000);
    } else {
        seconds = pyb_rtc_reset();
    }
    wlan_set_current_time(seconds);
    return mp_const_none;
}