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: whats so wrong with my i2c communication code
gurhalil

Replies: 6
Views: 7248

PostForum: General CCS C Discussion   Posted: Thu Jul 23, 2009 5:48 am   Subject: whats so wrong with my i2c communication code
Well, the rest of the code is irrelevant. Just the idea is that master must transmit the key value that ranges between specific values. It works fine with the Proteus simulator and again works fine wi ...
  Topic: whats so wrong with my i2c communication code
gurhalil

Replies: 6
Views: 7248

PostForum: General CCS C Discussion   Posted: Thu Jul 23, 2009 5:12 am   Subject: whats so wrong with my i2c communication code
NEVER enable the global interrupt flag inside an interrupt handler!!!
If you do this and another interrupt is waiting to be handled the hardware will immediately execute the interrupt dispatcher aga ...
  Topic: whats so wrong with my i2c communication code
gurhalil

Replies: 6
Views: 7248

PostForum: General CCS C Discussion   Posted: Thu Jul 23, 2009 4:18 am   Subject: whats so wrong with my i2c communication code
#include <16F876.h>
#device ADC=8
#fuses XT,NOWDT,NOPROTECT,NOLVP, PUT , BROWNOUT
#use delay(clock=4000000) //4 Mhz osilatör hızı

#use i2c(Master, sda=PIN_C4, scl=PI ...
  Topic: I2C MultiMaster Problem
gurhalil

Replies: 1
Views: 2780

PostForum: General CCS C Discussion   Posted: Thu Jul 16, 2009 7:08 am   Subject: I2C MultiMaster Problem
Hello
I think the answer to my problem would be multimaster i2c but still I have to ask
I have a circuit which I use 2 16f876 as keypad pics ( this means I have two keypads and these 16fs deals with ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group