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 7 matches
CCS Forum Index
Author Message
  Topic: PIC18F87J11 Read and Write on DATA memory
alexandre

Replies: 12
Views: 19139

PostForum: General CCS C Discussion   Posted: Fri Dec 10, 2010 5:56 pm   Subject: PIC18F87J11 Read and Write on DATA memory
Ok I will try this:


//EEPROM - 24LC256 I2C Stream
#define EEPROM_24LC256_SDA PIN_C4
#define EEPROM_24LC256_SCL PIN_C3
#use i2c(I2C1, master, sda = EEPROM_24LC256_SDA, scl = EEPROM_24LC2 ...
  Topic: PIC18F87J11 Read and Write on DATA memory
alexandre

Replies: 12
Views: 19139

PostForum: General CCS C Discussion   Posted: Fri Dec 10, 2010 5:12 pm   Subject: PIC18F87J11 Read and Write on DATA memory
Well, this is my declaration :


//RTC - DS1307 I2C Stream
#define DS1307_SDA PIN_D5
#define DS1307_SCL PIN_D6
#use i2c(master, sda = DS1307_SDA, scl = DS1307_SCL, stream = RTC_STREAM, FOR ...
  Topic: PIC18F87J11 Read and Write on DATA memory
alexandre

Replies: 12
Views: 19139

PostForum: General CCS C Discussion   Posted: Fri Dec 10, 2010 2:07 pm   Subject: PIC18F87J11 Read and Write on DATA memory
Thank you everybody for your advice,

But I still have a question about the problem of #use i2c() with HW option for the PIC18F87J11. It works when SW option is specified.

Any idea ....

Alex
  Topic: PIC18F87J11 Read and Write on DATA memory
alexandre

Replies: 12
Views: 19139

PostForum: General CCS C Discussion   Posted: Fri Dec 10, 2010 1:44 pm   Subject: PIC18F87J11 Read and Write on DATA memory
a good idea, thank you bkamen,

I would like at first implement a Software solution (RTC + storage + some other tasks), then I will make a complete Hardware solution (DS1307, EEPROM, ...)

Idea
  Topic: PIC18F87J11 Read and Write on DATA memory
alexandre

Replies: 12
Views: 19139

PostForum: General CCS C Discussion   Posted: Fri Dec 10, 2010 11:25 am   Subject: PIC18F87J11 Read and Write on DATA memory
Oh thank you for your rapid replys,

Let me explain you my application, In fact I want to store a measurement every day, it is the same measure, it will be updated then stored every day in the same ...
  Topic: PIC18F87J11 Read and Write on DATA memory
alexandre

Replies: 12
Views: 19139

PostForum: General CCS C Discussion   Posted: Fri Dec 10, 2010 4:33 am   Subject: PIC18F87J11 Read and Write on DATA memory
Hello every body,

I just started programming PIC18F, I'm using CCS 4.049

The built-in read_eeprom() and write_eeprom() functions are not recognised when I compile my program.
The error message ...
  Topic: Initializing structures in CCS?
alexandre

Replies: 5
Views: 8454

PostForum: General CCS C Discussion   Posted: Fri Dec 10, 2010 3:16 am   Subject: read_eeprom & write_eeprom with PIC18F87J11
Hello every body,

I just started programming PIC18F, I'm using CCS 4.049

The built-in read_eeprom and write_eeprom functions are not recognised by my compiler.
The error message is:
"*** ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group