Hello
Another problem with this chip is selecting I2C, channel 2 results in a compile fail. I have been using EEPROM, MAX44009 sensor and BMP280 OK on channel 1 (or software) BUT when I went to channel 2 it doesn't compile & gives errors 'I2CCON' (undeclared first use in this function) etc
Can you assist please?
To look at this, select the chip then add an I2C component and try to compile to hex. Don't forget to include the workaround for the ANSELA/B problem
#define ANSELA ANSA
#define ANSELB ANSB
regards
Paul
PIC24FJ256GA702 I2C channel not working query
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: PIC24FJ256GA702 I2C channel not working query
Hi Paul,
Thanks for letting us know. I've pushed a fix to the update system now which should solve the I2C CH2 problem and should also remove the need for you to add those defines to your projects.
Thanks for letting us know. I've pushed a fix to the update system now which should solve the I2C CH2 problem and should also remove the need for you to add those defines to your projects.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel