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 5 matches
CCS Forum Index
Author Message
  Topic: i2c_write() is not allowed
mire

Replies: 13
Views: 23286

PostForum: General CCS C Discussion   Posted: Thu Jan 10, 2019 6:24 pm   Subject: i2c_write() is not allowed
Where do I find the code for the DHT11 say.
  Topic: i2c_write() is not allowed
mire

Replies: 13
Views: 23286

PostForum: General CCS C Discussion   Posted: Sun Jan 06, 2019 7:27 am   Subject: i2c_write() is not allowed
Thanks all.
Understood.
However if I 'FORCE_SW' should I see a Bit Bash version?
Still no output

thanks
(How do you close a thread)
  Topic: i2c_write() is not allowed
mire

Replies: 13
Views: 23286

PostForum: General CCS C Discussion   Posted: Sat Jan 05, 2019 1:13 pm   Subject: i2c_write() is not allowed
By all means have a play.
But if it won't work I'll figure it out.
Really was more interested in seeing CCS working.
Do you know if CCS supports a Dallas style 1 wire interface?

Regards.
  Topic: i2c_write() is not allowed
mire

Replies: 13
Views: 23286

PostForum: General CCS C Discussion   Posted: Sat Jan 05, 2019 12:18 pm   Subject: i2c_write() is not allowed
PIC18F45K42.

Can use the I2C HW ok from MPLab.

Found that using
#use i2c(Master,slow=100000)
and the code compiles and downloads.
But it does nothing on the port (see with oscilloscope).
  Topic: i2c_write() is not allowed
mire

Replies: 13
Views: 23286

PostForum: General CCS C Discussion   Posted: Sat Jan 05, 2019 11:12 am   Subject: i2c_write() is not allowed
Trying to get htis up for hte first time.

When I try to compile with i2c included I get
Function used but not defined: :: i2c_start() not supported when using HW I2C on this device, see i2c_trans ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group