Hi ! Can you post your full code for DS3231 ? I intend to build something based on Nokia 3310 display ... (upgrade of this : http://www.picbasic.co.uk/forum/show...083#post129083 )
Hi ! Can you post your full code for DS3231 ? I intend to build something based on Nokia 3310 display ... (upgrade of this : http://www.picbasic.co.uk/forum/show...083#post129083 )
See attached file. I use it as an include.
Displaying time is like
Code:'----[ ALIAS }------------------------- RTC_SDA Var PORTB.3 RTC_SCL Var PORTB.2 '----[ INCLUDES }------------------------- INCLUDE "..\_Include\DS3231.pbp" ... gosub GetTime HSEROUT2 [hex2 RTCHour, ":", hex2 RTCMin, ":", hex2 RTCSec, 13, 10]
Bookmarks