hello,
I have a PIC 16LF1937 and a Temperature Sensor MCP9800 and I would love to read a I2C message from the MCP9800.
The first error is I can't config the PIC in Flowcode in the PPP the error message is "Unrecognised chip on command line <PIC16LF1937>"
At that I work with HI-TECH compiler. In the PPP for 16F1937 I can't set the "Internal Oscillator Frequency Select bits" and further the PPP don't supported the PIC16LF1939/16F1939.
The second error is I get following error from HI-TECH compiler
Error [984] C:\Projekte_Flowcode\PIC_16LF1937\Lueftersteuerung_LF3.c; 251.77 typ neu deklariert
Error [1098] C:\Projekte_Flowcode\PIC_16LF1937\Lueftersteuerung_LF3.c; 251.77 widersprüchliche Deklarationen für Variable "FCD_I2C_Master0_MI2C_Receive_By"
Error [984] C:\Projekte_Flowcode\PIC_16LF1937\Lueftersteuerung_LF3.c; 953.1 typ neu deklariert
Error [1098] C:\Projekte_Flowcode\PIC_16LF1937\Lueftersteuerung_LF3.c; 953.1 widersprüchliche Deklarationen für Variable "FCD_I2C_Master0_MI2C_Receive_By"
Error [1098] C:\Projekte_Flowcode\PIC_16LF1937\Lueftersteuerung_LF3.c; 953.1 widersprüchliche Deklarationen für Variable "FCD_I2C_Master0_MI2C_Receive_By"
Error [1098] C:\Projekte_Flowcode\PIC_16LF1937\Lueftersteuerung_LF3.c; 953.1 widersprüchliche Deklarationen für Variable "FCD_I2C_Master0_MI2C_Receive_By"
Error [253] C:\Projekte_Flowcode\PIC_16LF1937\Lueftersteuerung_LF3.c; 953.1 Parameterliste passt nicht zum Prototyp
Warning [361] C:\Projekte_Flowcode\PIC_16LF1937\Lueftersteuerung_LF3.c; 995.1 Funktion wurde implizit as int deklariert
Error [186] C:\Projekte_Flowcode\PIC_16LF1937\Lueftersteuerung_LF3.c; 1034.77 zu viele Funktions-Parameter
Error [186] C:\Projekte_Flowcode\PIC_16LF1937\Lueftersteuerung_LF3.c; 1039.77 zu viele Funktions-Parameter
Error [186] C:\Projekte_Flowcode\PIC_16LF1937\Lueftersteuerung_LF3.c; 1034.77 zu viele Funktions-Parameter
Error [186] C:\Projekte_Flowcode\PIC_16LF1937\Lueftersteuerung_LF3.c; 1039.77 zu viele Funktions-Parameter
and more
Please can you help me
Error at I2C (19LF1937)
Moderator: Benj
-
medelec35
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times