Page 1 of 1

mcp3421 why not? help!

Posted: Fri May 02, 2014 12:50 am
by nnnnff
mcp3421 why not? help!
mcp3421.rar
(140.8 KiB) Downloaded 380 times

Re: mcp3421 why not? help!

Posted: Fri May 02, 2014 7:41 am
by Dan81
hello Simonh

Change
- the quartz frequency to 19.66MHz (Build\ Project option)
- Hardware in the properties of the I2C components

Add an "I2C init" Macro before the loop.


Daniel

Re: mcp3421 why not? help!

Posted: Fri May 02, 2014 8:53 am
by STibor
nnnnff wrote:mcp3421 why not? help!
The attachment mcp3421.rar is no longer available
Hi,

I2C is a software component mode.
PORTA3 SCL = SDA = PORTA4
PIC clocked at 4MHz.