Help! SK40C 18f4550 + RTC + i2c

Programmer, In-Circuit Debugger, PIC Start-Up Kit, Memory Interface...

Help! SK40C 18f4550 + RTC + i2c

Postby Eddy » Wed Sep 10, 2014 1:52 pm

I am new to PIC,
Need help using c18 code on SK40C+18f4550 to read time and date on RTC ds1307. Sample code is much better. Try it with PIC16F877A which work. but have no idea how to code with 18f4550
Thanks
Eddy
Greenhorn
 
Posts: 2
Joined: Wed Sep 10, 2014 1:32 pm

Re: Help! SK40C 18f4550 + RTC + i2c

Postby ober » Thu Sep 11, 2014 9:33 pm

Please find out the errors when you compile the example code for PIC18F4550, it is not possible to create example code for every project.
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm

Re: Help! SK40C 18f4550 + RTC + i2c

Postby Eddy » Sun Sep 14, 2014 8:18 pm

Thanks for your prompt reply...
Do you have links for example code for PIC18F4550 with i2c.c and i2c.h files or i2c_rtc.c and i2c_rtc.h files??
Currently my project is base on project 12 rtc clock. But want to try to use PIC18F4550 + SK40C with the project. Have try it with PIC16F887 (HiTech) but with 18F which run on c18 codes. Dont have example to study it.... help much appreciated :)
Eddy
Greenhorn
 
Posts: 2
Joined: Wed Sep 10, 2014 1:32 pm

Re: Help! SK40C 18f4550 + RTC + i2c

Postby kl84 » Mon Sep 15, 2014 12:35 pm

I googled and found a lot of examples. You can take a look at this one.
User avatar
kl84
Amateur
 
Posts: 166
Joined: Thu Jul 08, 2010 12:14 pm


Return to PIC Development Tool

Who is online

Users browsing this forum: No registered users and 2 guests

cron