Author |
Message |
Topic: continued discussion about structure pointer problem |
ye
Replies: 6
Views: 8441
|
Forum: General CCS C Discussion Posted: Wed Jan 11, 2006 10:55 am Subject: continued discussion about structure pointer problem |
treitmey, thanks for the demo.
Maybe it's not a good question, but for function print_user, since parameter 'ptr' has been defined as 'struct node *' in function definition, then why do you add an ... |
Topic: continued discussion about structure pointer problem |
ye
Replies: 6
Views: 8441
|
Forum: General CCS C Discussion Posted: Wed Jan 11, 2006 9:11 am Subject: continued discussion about structure pointer problem |
Thanks for your replies.
The aftermath of using the first method in my code was exactly the same as that described in the first post, i.e., when assigning a different string to a user record, conte ... |
Topic: continued discussion about structure pointer problem |
ye
Replies: 6
Views: 8441
|
Forum: General CCS C Discussion Posted: Wed Jan 11, 2006 4:42 am Subject: continued discussion about structure pointer problem |
Dear all,
I raised a question about a pointer problem in structure. I think I still have some confusions over there not resolved and would like to seek further help here.
The original post is:
... |
Topic: Pointer problem with structure |
ye
Replies: 3
Views: 6473
|
Forum: General CCS C Discussion Posted: Fri Jan 06, 2006 10:50 am Subject: Pointer problem with structure |
I got you guys.
Many thanks! |
Topic: Pointer problem with structure |
ye
Replies: 3
Views: 6473
|
Forum: General CCS C Discussion Posted: Fri Jan 06, 2006 10:02 am Subject: Pointer problem with structure |
Dear all,
happy new year!~
I am using 18f8722 and was puzzled by a problem with pointer and structure. The problem is:
I've defined a structure like :
struct node
{
int tag;
char ... |
Topic: Desperately need help with 1-wire, or HDQ16 |
ye
Replies: 2
Views: 5475
|
Forum: General CCS C Discussion Posted: Thu Dec 15, 2005 9:27 am Subject: Desperately need help with 1-wire, or HDQ16 |
The 1-wire protocol timing given by these 3 documents or work are so different !!
somebody's code:
http://www.ccsinfo.com/forum/viewtopic.php?t=19520
1-wire protocol given by Dallas
http://www ... |
Topic: Desperately need help with 1-wire, or HDQ16 |
ye
Replies: 2
Views: 5475
|
Forum: General CCS C Discussion Posted: Thu Dec 15, 2005 7:56 am Subject: Desperately need help with 1-wire, or HDQ16 |
nobody has experience in this? |
Topic: Desperately need help with 1-wire, or HDQ16 |
ye
Replies: 2
Views: 5475
|
Forum: General CCS C Discussion Posted: Thu Dec 15, 2005 5:52 am Subject: Desperately need help with 1-wire, or HDQ16 |
Hi all,
I am using 18f8722
There are 2 chips using 1-wire protocol in the system i am designing. One is DS2433 and the other is gas gauge BQ2060.
I have written a presence check code which wo ... |
Topic: About storing large amount of data into ROM |
ye
Replies: 8
Views: 10321
|
Forum: General CCS C Discussion Posted: Wed Dec 14, 2005 4:40 am Subject: About storing large amount of data into ROM |
Thanks guys~ |
Topic: About storing large amount of data into ROM |
ye
Replies: 8
Views: 10321
|
Forum: General CCS C Discussion Posted: Tue Dec 13, 2005 10:27 am Subject: About storing large amount of data into ROM |
Thanks guys, it works now...
Telmah, you remember you said using #org to avoid memory ovelap. How did you actualy use #org in this case? |
Topic: About storing large amount of data into ROM |
ye
Replies: 8
Views: 10321
|
Forum: General CCS C Discussion Posted: Tue Dec 13, 2005 9:01 am Subject: About storing large amount of data into ROM |
Hi Andrew,
Thanks for the reminding.
It still didn't seem to work. the lengths returned changed but still wrong. The returned lengths are now:
length 1 = 248,length 2 = 1068 |
Topic: About storing large amount of data into ROM |
ye
Replies: 8
Views: 10321
|
Forum: General CCS C Discussion Posted: Tue Dec 13, 2005 8:21 am Subject: About storing large amount of data into ROM |
sorry I forgot to login....
any thought,plz? |
Topic: code stuck at I2C_WRITE() ?? |
ye
Replies: 2
Views: 4997
|
Forum: General CCS C Discussion Posted: Tue Dec 13, 2005 7:19 am Subject: code stuck at I2C_WRITE() ?? |
actually i figured out the problem.
forgot to connect pull up resistors... |
Topic: code stuck at I2C_WRITE() ?? |
ye
Replies: 2
Views: 4997
|
Forum: General CCS C Discussion Posted: Tue Dec 13, 2005 6:35 am Subject: code stuck at I2C_WRITE() ?? |
Hi all,
The following code is a pretty simple EEPROM test code. It works on one of my test board but doesn't on another one. Can anybody think of any problems in software or hardware for this one? ... |
Topic: application notes for BQ2060 GAS GAUGE |
ye
Replies: 2
Views: 6337
|
Forum: General CCS C Discussion Posted: Fri Dec 02, 2005 4:03 am Subject: application notes for BQ2060 GAS GAUGE |
Nobody got any application resources? |
|