Scampy,
Use the regular Division "/" operator for the Hours computation and use the Modulo "//" operator for the minutes computation.
lightsetHR1 = (CH1_on_time / 60)
lightsetMN1 = (CH1_on_time // 60)
Cheers,
Scampy,
Use the regular Division "/" operator for the Hours computation and use the Modulo "//" operator for the minutes computation.
lightsetHR1 = (CH1_on_time / 60)
lightsetMN1 = (CH1_on_time // 60)
Cheers,
Regards,
TABSoft
Bookmarks