For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.
...
Starting preprocessor: C:\PROGRA~2\Flowcode\v5\Tools\boostc\pp.exe "test_pression GY65.c" -i C:\PROGRA~2\Flowcode\v5\Tools\boostc\include -d _PIC16F1847 -la -c2 -o "test_pression GY65.pp" -v -d _BOOSTC -d _PIC16 -d _PIC16x -d _CHAR_INDEX
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_I2C.c(319): This chip does not have Master I2C capability
1 errors detected
...
Normal?
Same error on Flowcode V6.04
thank you
PIC16(L)F1847
The I2C interface supports the following modes and
features:
• Master mode
• Slave mode
• Byte NACKing (Slave mode)
• Limited Multi-master support
• 7-bit and 10-bit addressing
• Start and Stop interrupts
• Interrupt masking
• Clock stretching
• Bus collision detection
• General call address matching
• Address masking
• Address Hold and Data Hold modes
• Selectable SDAx hold times
Great job on catching the missing define. I don't have that micro to test with but, maybe you could try this instead:
Define77=#define MX_MI2C
For some reason I get a different define number than you and also deleted the spaces. Probably won't make any difference though. I am guessing there is something else going on but I can't spot it.
By adding this line = # define MX_MI2C, there is no problem at compile time, but the PIC does not work: (
I had already modified the file because there was error in the definition of PWM.