Page 1 of 1

Error at I2C (19LF1937)

Posted: Sat Jun 18, 2011 2:05 pm
by HjH
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
Lueftersteuerung_LF3.fcf
(10.5 KiB) Downloaded 230 times

Re: Error at I2C (19LF1937)

Posted: Sat Jun 18, 2011 2:57 pm
by medelec35
Hi HjH,
I have sent you a PM about this.

Martin