Not sure how you are monitoring the AM/PM bit but, here is how I detect am and pm
rtchour is the byte from the rtc clock. the fifth bit is AM/PM, ignore the print stuffCode:if rtchour.5 = 1 then @ printstr2 37,1, "PM" else @ printstr2 37,1, "AM" endif
Dave
Bookmarks