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: Struct question
zasi80

Replies: 4
Views: 7011

PostForum: General CCS C Discussion   Posted: Sun Oct 09, 2011 8:48 am   Subject: Struct question
I found answer!
aaa in structure is not the same as aaa declared as integer in my program.
To get access to aaa from structure I have to use:

Printf("%u ", msg111.aaa);
  Topic: Struct question
zasi80

Replies: 4
Views: 7011

PostForum: General CCS C Discussion   Posted: Sun Oct 09, 2011 8:09 am   Subject: Struct question
I have also problem with struct. I'm using it for first time. I'm trying to shift in data into structure but it doesn't work. Value of aaa is always 0.
I based my code on sample code from CCS help ( ...
  Topic: PIC16F690 and I2c master
zasi80

Replies: 7
Views: 19644

PostForum: General CCS C Discussion   Posted: Tue Oct 04, 2011 11:54 pm   Subject: PIC16F690 and I2c master
Sorry, my mistake
byte111=i2c_read(0); does the same.
  Topic: PIC16F690 and I2c master
zasi80

Replies: 7
Views: 19644

PostForum: General CCS C Discussion   Posted: Tue Oct 04, 2011 3:12 pm   Subject: PIC16F690 and I2c master
Hi
I was fighting with I2C and my PIC16f690 for 3 days (I'm beginner), and finally made it work !!! I used EEPROM AT24C512B. I've done simulation and physical circuit however when I swapped EEPROM A ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group