Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20637

BASCOM-AVR : Garden automat : REPLY

$
0
0
You are making things hard for yourself and writing much more code than you need to. You need to look at the bascom help and read about LsysSec which is a long variable that represents the system seconds this is incremented by an interrupt each second then bascom can give you the date, time, day, hour , minute, second from this so you do not have to compare hours and minutes just the value of a long against the LsysSec, bascom does all the conversions for you. Regards Paul

Viewing all articles
Browse latest Browse all 20637


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>