i started to read PFC
these codes works properly !!
i2cread sda,scl,$A2,2,[S] 'sec
i2cread sda,scl,$A2,3,[M] 'minute
i2cread sda,scl,$A2,4,[H] 'hour
but i couldn't set time ?
i want to set "18:59" time to PFC but this code didn't work ?
......
M = 45
H = 18
.....
i2cwrite sda,scl,$A2,2,[S] 'sec
i2cwrite sda,scl,$A2,3,[M] 'minute
i2cwrite sda,scl,$A2,4,[H] 'hour
....
Bookmarks