PIC24FJ1024GB610 I2C Channel3 problem

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Sasi
Posts: 38
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 12:11 pm
Has thanked: 7 times
Been thanked: 2 times

Flowcode v10 PIC24FJ1024GB610 I2C Channel3 problem

Post by Sasi »

Hello,

Happy New Year to everyone!

I tried the SHT-31 sensor on the Clicker2 panel.
The MCU type is PIC24FJ1024GB610.
If I select Channel 3 in the "Grove Component SHT31" Component Properties window, I get the attached error message from the compiler.

Regards,
Sasi
PIC24FJ1024GB610 I2C_test.fcfx
(16.05 KiB) Downloaded 58 times

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: PIC24FJ1024GB610 I2C Channel3 problem

Post by Steve-Matrix »

It looks like there is an issue using Channel 3 for the I2C for this chip. If you change this to Channel 1 or 2 (or use software mode) then it should be ok.

Sasi
Posts: 38
Joined: Wed Dec 02, 2020 12:11 pm
Has thanked: 7 times
Been thanked: 2 times

Re: PIC24FJ1024GB610 I2C Channel3 problem

Post by Sasi »

That's right.
There is only a problem with channel 3.
But I don't think it's a chip bug because I get an error message from the compiler about references to undeclared variables.

Post Reply