Blueforcer Well-Known Member Licensed User Longtime User Nov 22, 2019 #1 Hi, I want to implement a alarm clock. Do i need to compare the time every second via timer or is there a better way?
Hi, I want to implement a alarm clock. Do i need to compare the time every second via timer or is there a better way?
Erel B4X founder Staff member Licensed User Longtime User Nov 24, 2019 #2 You can calculate the number of milliseconds till the target time and use Sleep or a timer with this interval. With that said, nothing bad will happen if you have a timer that checks the time every second. Upvote 0
You can calculate the number of milliseconds till the target time and use Sleep or a timer with this interval. With that said, nothing bad will happen if you have a timer that checks the time every second.