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 4 matches
CCS Forum Index
Author Message
  Topic: I2C MSSP PIC18/DS1339 Read() HELP??
bogzao

Replies: 7
Views: 12601

PostForum: General CCS C Discussion   Posted: Wed Mar 21, 2007 12:01 pm   Subject: I2C MSSP PIC18/DS1339 Read() HELP??
Yes, you�re right it�s a High voltage programmer. I�ve changed to NOLVP.
The program works!
I�m trying to change C to Asm, but I found some problems in some code parts.
When I change:
- Slave_ack ...
  Topic: I2C MSSP PIC18/DS1339 Read() HELP??
bogzao

Replies: 7
Views: 12601

PostForum: General CCS C Discussion   Posted: Fri Mar 09, 2007 6:44 am   Subject: :o
I didnt know that.. I did that and the result from the compiler is..
(CCS PCH C Compiler, Version 3.224)

#include <18F6722.h>
#device adc=10
#fuses EC_IO, NOBROWNOUT, WDT16384, NOPUT, NOS ...
  Topic: I2C MSSP PIC18/DS1339 Read() HELP??
bogzao

Replies: 7
Views: 12601

PostForum: General CCS C Discussion   Posted: Thu Mar 08, 2007 6:59 am   Subject: :\
#include <18F6722.h>
#fuses XT, NOWDT, PUT, BROWNOUT, NOLVP
#use delay(clock=4000000)
#use i2c(Master, sda=PIN_C4, scl=PIN_C3, FORCE_HW)

//========================
void m ...
  Topic: I2C MSSP PIC18/DS1339 Read() HELP??
bogzao

Replies: 7
Views: 12601

PostForum: General CCS C Discussion   Posted: Wed Mar 07, 2007 12:13 pm   Subject: I2C MSSP PIC18/DS1339 Read() HELP??
I�m trying to make (MSSP) I2C driver to communicate a pic18f6722 with a RTC DS1339. The original code is in C and it�s running well.. I get good readings from the RTC.
Do to memory problems, I�m tryi ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group