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 9 matches
CCS Forum Index
Author Message
  Topic: Problem reading data TC74-I2C
soko

Replies: 7
Views: 15394

PostForum: General CCS C Discussion   Posted: Mon Jul 18, 2011 3:48 pm   Subject: Problem reading data TC74-I2C
I can not believe. After two days crazy, says the solution is as PCM programmer, I have taken instruction FORCE_HW and work perfectly.

Many thanks to both, you have helped me a lot.

Regards
  Topic: Problem reading data TC74-I2C
soko

Replies: 7
Views: 15394

PostForum: General CCS C Discussion   Posted: Mon Jul 18, 2011 4:47 am   Subject: Problem reading data TC74-I2C
Thank you very much for your time.

I have corrected the problem of sending the stop and reset the data.

The device I use is to TC74 but 5 volts, not 3.3, it tells you forgive me wrong, the datas ...
  Topic: Problem reading data TC74-I2C
soko

Replies: 7
Views: 15394

PostForum: General CCS C Discussion   Posted: Mon Jul 18, 2011 3:56 am   Subject: Problem reading data TC74-I2C
Thanks for the reply Ttelmah.

In the datasheet, (#include <16F88.h>
#FUSES NOWDT,INTRC_IO,PUT,NOMCLR,NOPROTECT,NOCPD,NOBROWNOUT,IESO,FCMEN,NOLVP,NODEBUG,NOWRT
#use delay(clock=8000000&# ...
  Topic: Problem reading data TC74-I2C
soko

Replies: 7
Views: 15394

PostForum: General CCS C Discussion   Posted: Mon Jul 18, 2011 1:34 am   Subject: Problem reading data TC74-I2C
Hello,

First apologize for my English because I am not native.

I'm trying to read the temperature of a TC74, based on the examples on this website, but I can not get it.

I use Proteus for the ...
  Topic: Help with I2C - 16F88 and WII Motion Plus (Accelerometers)
soko

Replies: 10
Views: 16289

PostForum: General CCS C Discussion   Posted: Tue Jun 07, 2011 2:03 pm   Subject: Help with I2C - 16F88 and WII Motion Plus (Accelerometers)
It works!!! Laughing Laughing

Thank you very much everyone !!!!! At the end with your advice and get directions program has worked.

Also find information on this website, where you can see the code ...
  Topic: Help with I2C - 16F88 and WII Motion Plus (Accelerometers)
soko

Replies: 10
Views: 16289

PostForum: General CCS C Discussion   Posted: Tue Jun 07, 2011 8:59 am   Subject: Help with I2C - 16F88 and WII Motion Plus (Accelerometers)
Ok, sorry.

Here is the translated code, I hope to be better.

The pull-up resistors are integrated in the device itself, have a value of 2k2.

Thanks for the advice.

int t;
int datos[6& ...
  Topic: Help with I2C - 16F88 and WII Motion Plus (Accelerometers)
soko

Replies: 10
Views: 16289

PostForum: General CCS C Discussion   Posted: Tue Jun 07, 2011 7:28 am   Subject: Help with I2C - 16F88 and WII Motion Plus (Accelerometers)
hello again!

Thanks to your help, I have working examples with i2c, but the program still works fine.

According to specifications of this website:

i2c_start();
i2c_write(0xA5 ...
  Topic: Help with I2C - 16F88 and WII Motion Plus (Accelerometers)
soko

Replies: 10
Views: 16289

PostForum: General CCS C Discussion   Posted: Sun Jun 05, 2011 4:12 pm   Subject: Help with I2C - 16F88 and WII Motion Plus (Accelerometers)
Thank you very much.

I'll try the settings and then I tell you.
  Topic: Help with I2C - 16F88 and WII Motion Plus (Accelerometers)
soko

Replies: 10
Views: 16289

PostForum: General CCS C Discussion   Posted: Sun Jun 05, 2011 12:07 pm   Subject: Help with I2C - 16F88 and WII Motion Plus (Accelerometers)
Hello!

I'm trying to read an I2C device, exactly one of the Wii Nunchuk, to get data from your accelerometers, but no way to compile the following code.

#include <16f88.h> //p ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group