When You configure Clock = Soft then automatically variables _sec, _min .._hour and subs are created. This is like hidden but accesable. For example You can "Lcd _sec" and this compile without error because variable _sec exists.
When You config Clock = User then You must care about subs called from library. So You can look at Example3 bottom of this page
http://wiki.mcselec.com/bavr/CONFIG_CLOCK
You will find Getdatetime routine . You can also include ds1307clock.lib I think. Then sub Getdatetime should be created.
In another words library want time variables
↧