CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 3 matches
CCS Forum Index
Author Message
  Topic: DS1307 problem I2C
Davsgr

Replies: 6
Views: 8041

PostForum: General CCS C Discussion   Posted: Sat May 08, 2010 3:22 pm   Subject: DS1307 problem I2C
http://img688.imageshack.us/img688/6058/i2cproblem.th.jpg

PIC are found any slave Confused

I go testing with pull-ups 4K7

Thanks for your answer Very Happy
  Topic: DS1307 problem I2C
Davsgr

Replies: 6
Views: 8041

PostForum: General CCS C Discussion   Posted: Sat May 08, 2010 2:10 pm   Subject: DS1307 problem I2C
I have see this thread but I have find any solution.

I have 5v on my ds1307 I have a 3v battery I have pull-up resistors (10K) and i have a 32.768 KHz watch crystal.

I can see the signal on the ...
  Topic: DS1307 problem I2C
Davsgr

Replies: 6
Views: 8041

PostForum: General CCS C Discussion   Posted: Sat May 08, 2010 8:49 am   Subject: DS1307 problem I2C
Hi Smile

I use a 16F887.
This is my code for write and read the first address of the DS1307 :


#use i2c (Master, sda=PIN_C4, SCL=PIN_C3)

int heure;
main()
{

heu ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group