Hi all, I tried to read a data from ds1302 but I failed to do so. Is there anything wrong in my code?
Code:
RST = 1;
data_out(0x85); //write to read hr register
temp1 = data_in(); //read in data
sec[2] = get_bcd(temp1); //convert e data to bcd.. get from ds1302.c
RST = 0;
But I did it in burst read mode... it works.. can anyone explain this to me?
Thanks
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum