Author |
Message |
Topic: PIC24HJ (12GP202) and I2C |
korghs
Replies: 3
Views: 5474
|
Forum: General CCS C Discussion Posted: Sat Aug 27, 2011 3:43 am Subject: PIC24HJ (12GP202) and I2C |
Interesting,
got down to
#use i2c(master, sda=pin_b9, scl=pin_b8, slow, force_hw)
Seems to work, too |
Topic: PIC24HJ (12GP202) and I2C |
korghs
Replies: 3
Views: 5474
|
Forum: General CCS C Discussion Posted: Fri Aug 26, 2011 2:21 pm Subject: PIC24HJ (12GP202) and I2C |
#use i2c(master, sda=pin_b9, scl=pin_b8)
seems to be the easiest way to solve my problem.
Also played around with the pull-ups on sda and scl, got both down to 1.8k. |
Topic: PIC24HJ (12GP202) and I2C |
korghs
Replies: 3
Views: 5474
|
Forum: General CCS C Discussion Posted: Fri Aug 26, 2011 11:45 am Subject: PIC24HJ (12GP202) and I2C |
Hi there,
I'm quite new to this Compiler and the PIC24HJ12GP202 and I'm actually stuck at the most stupid point, right at the beginning!
The aim is to simply communicate by I²C
#includ ... |
|