mcp3421 why not? help!
Moderator: Benj
- Dan81
- Valued Contributor
- Posts: 268
- Joined: Sun Jan 15, 2006 4:07 pm
- Location: Albi France
- Been thanked: 60 times
- Contact:
Re: mcp3421 why not? help!
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
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
- Attachments
-
- mcp3421single_v2.fcf
- (16 KiB) Downloaded 283 times
- STibor
- Posts: 263
- Joined: Fri Dec 16, 2011 3:20 pm
- Has thanked: 116 times
- Been thanked: 113 times
- Contact:
Re: mcp3421 why not? help!
Hi,nnnnff wrote:mcp3421 why not? help!
I2C is a software component mode.
PORTA3 SCL = SDA = PORTA4
PIC clocked at 4MHz.
- Attachments
-
- MCP3421_SW.jpg
- (219.39 KiB) Downloaded 846 times