Hi,
Something like this:Now have a go at it, if it doesn't work post your code and we'll have a look at it again.Code:Counter VAR WORD Read1307: 'code for reading time and date here.... Counter = Counter + 1 If Counter > 2000 then Counter = 0 If Counter < 1000 Then GOSUB DisplayTime If Counter > 1000 Then GOSUB Display Date Goto Read1307 DisplayTime: 'code for time here RETURN DisplayDate: 'code for date here RETURN END
/Henrik.




Bookmarks