Hello,
please could you check the following error that flowcode shows me when compiling, I am using the PIC16F1939.
^ (103) #error: "I2C Channel 2 does not have the SSP2IF defined on this chip - does your chip support this feature?"
Error copile
-
- Posts: 148
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 26 times
- Been thanked: 9 times
-
- Posts: 148
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 26 times
- Been thanked: 9 times
-
- Posts: 148
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 26 times
- Been thanked: 9 times
-
- Valued Contributor
- Posts: 1683
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 374 times
- Been thanked: 582 times
Re: Error copile
Hi
Without seeing your chart it looks like you are attempting to enable an Interrupt on Synchronous Serial Port #2 with the chip only supporting SSP on #1. As far as I am aware, FC only has Channel-1 and Software options, no Channel 2 for that chip.
Regards
Without seeing your chart it looks like you are attempting to enable an Interrupt on Synchronous Serial Port #2 with the chip only supporting SSP on #1. As far as I am aware, FC only has Channel-1 and Software options, no Channel 2 for that chip.
Regards
-
- Valued Contributor
- Posts: 1683
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 374 times
- Been thanked: 582 times
-
- Posts: 148
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 26 times
- Been thanked: 9 times
Re: Error copile
Hello, I see... I think I'm still asleep !!!!! Thank you very much for the observation, Martin.
Best Regards
Enrique
Best Regards
Enrique
-
- Valued Contributor
- Posts: 1683
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 374 times
- Been thanked: 582 times
Re: Error copile
Hi
I find "Practical Electronics for Inventors" an exciting read not just for bedtime but holiday sunbed too. Of course if you want glossy magazine racey, you could do worse than Practical Electronics (where there are adverts for exciting things to buy such as FC) and Elektor (which in my head I read as Goldmember from Austin Powers).
Sleep helps with cognative skill so surely Cognac at bedtime will turbocharge the experience?
Whilst you were busy beating me to replying, by sneakily have the datasheet open, I opened up FC and was only allowed Channel 1 or Software, so maybe Enrique needs some turbocharged sleep
Regards
I find "Practical Electronics for Inventors" an exciting read not just for bedtime but holiday sunbed too. Of course if you want glossy magazine racey, you could do worse than Practical Electronics (where there are adverts for exciting things to buy such as FC) and Elektor (which in my head I read as Goldmember from Austin Powers).
Sleep helps with cognative skill so surely Cognac at bedtime will turbocharge the experience?
Whilst you were busy beating me to replying, by sneakily have the datasheet open, I opened up FC and was only allowed Channel 1 or Software, so maybe Enrique needs some turbocharged sleep

Regards
-
- Posts: 148
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 26 times
- Been thanked: 9 times
Re: Error copile
Hi,
I have to say that I prefer a glass of tequila (Agavero), the drawback is that you forget what you were doing. . . .
but in a previous version of Flowcode I had an RTC connected on channel 1 and an LCDI2C display in software, and it compiled correctly, I'm using the same PIC16F1939; but with another update that was installed, that error stopped appearing, now only too many "warning".
I also added a 4x4 keypad; When you finish the program you save it, but when you open that same program the connections made on the keypad are changed to B0, B1, B2, B3, B4, B5, B6, B7
And again on another Laptop that I have not yet updated Flowcode, no error or warning is generated.
Best Regards
I have to say that I prefer a glass of tequila (Agavero), the drawback is that you forget what you were doing. . . .

I also added a 4x4 keypad; When you finish the program you save it, but when you open that same program the connections made on the keypad are changed to B0, B1, B2, B3, B4, B5, B6, B7
And again on another Laptop that I have not yet updated Flowcode, no error or warning is generated.

Best Regards