Hello,
I have a problem with RC5 Component.
My Flowchart run with 16F877A don't with 16F877
I need the Function with the 16F877 (without "A"). Can anybody help me for a running solution?
Here the compiler Message:
Launching the compiler...
c:\program files (x86)\matrix multimedia\flowcode v4\boostc\boostc_pic16_flowcode.exe -v -t PIC16F877 "RC5 Receive.c"
BoostC Optimizing C Compiler Version 7.04 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2011 Pavel Baranov
Copyright(C) 2004-2011 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
RC5 Receive.c
Starting preprocessor: c:\PROGRA~2\MATRIX~1\FLOWCO~1\boostc\pp.exe "RC5 Receive.c" -i c:\PROGRA~2\MATRIX~1\FLOWCO~1\boostc\include -d _PIC16F877 -la -c2 -o "RC5 Receive.pp" -v -d _BOOSTC -d _PIC16 -d _CHAR_INDEX
RC5 Receive.c(212:9): error: unknown identifier 'TMR0IE'
RC5 Receive.c(212:9): error: unexpected '.' operator
RC5 Receive.c(212:2): error: failed to generate expression
RC5 Receive.c(212:2): error: invalid operand 'intcon.TMR0IE'
RC5 Receive.c(212:16): error: failed to generate expression
RC5 Receive.c(230:23): error: unknown identifier 'TMR0IF'
RC5 Receive.c(230:23): error: unexpected '.' operator
RC5 Receive.c(230:16): error: failed to generate expression
RC5 Receive.c(230:16): error: invalid operand 'intcon.TMR0IF'
RC5 Receive.c(230:14): error: failed to generate expression
RC5 Receive.c(231:9): error: unknown identifier 'TMR0IF'
RC5 Receive.c(231:9): error: unexpected '.' operator
RC5 Receive.c(231:2): error: failed to generate expression
RC5 Receive.c(231:2): error: invalid operand 'intcon.TMR0IF'
RC5 Receive.c(231:16): error: failed to generate expression
RC5 Receive.c(531:9): error: unknown identifier 'TMR0IF'
RC5 Receive.c(531:9): error: unexpected '.' operator
RC5 Receive.c(531:2): error: failed to generate expression
RC5 Receive.c(531:2): error: invalid operand 'intcon.TMR0IF'
RC5 Receive.c(531:16): error: failed to generate expression
RC5 Receive.c(532:9): error: unknown identifier 'TMR0IE'
RC5 Receive.c(532:9): error: unexpected '.' operator
RC5 Receive.c(532:2): error: failed to generate expression
RC5 Receive.c(532:2): error: invalid operand 'intcon.TMR0IE'
RC5 Receive.c(532:16): error: failed to generate expression
RC5 Receive.c(550:9): error: unknown identifier 'TMR0IE'
RC5 Receive.c(550:9): error: unexpected '.' operator
RC5 Receive.c(550:2): error: failed to generate expression
RC5 Receive.c(550:2): error: invalid operand 'intcon.TMR0IE'
RC5 Receive.c(550:16): error: failed to generate expression
.
RC5 Receive.c(880:14): error: unknown identifier 'TMR0IE'
RC5 Receive.c(880:14): error: unexpected '.' operator
RC5 Receive.c(880:7): error: failed to generate expression
RC5 Receive.c(880:7): error: invalid operand 'intcon.TMR0IE'
RC5 Receive.c(880:21): error: failed to generate expression
RC5 Receive.c(880:38): error: unknown identifier 'TMR0IF'
RC5 Receive.c(880:38): error: unexpected '.' operator
RC5 Receive.c(880:31): error: failed to generate expression
RC5 Receive.c(880:31): error: invalid operand 'intcon.TMR0IF'
RC5 Receive.c(880:45): error: failed to generate expression
RC5 Receive.c(880:21): error: invalid operand '=='
RC5 Receive.c(880:45): error: invalid operand '=='
RC5 Receive.c(880:27): error: failed to generate expression
RC5 Receive.c success
failure
Return code = 1
Flowcode konnte den C-Kode des Flussdiagramms nicht kompilieren, da folgende Fehler auftraten:
Wenn Ihr Flussdiagramm C-Kode enthält,überprüfen Sie diesen sorgfältig. Falls das Flussdiagramm keinen C-Kode enthält oder Sie sich sicher sein können, dass dieser Kode fehlerfrei ist, dann wenden Sie sich an den technischen Support.
FINISHED
Error with RC5 Component
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Error with RC5 Component
Hello,
You could try adding this to the defines section of the supplementary code window available from the project options window.
#define TMR0IE T0IE
#define TMR0IF T0IF
Hopefully that will fix the issue.
You could try adding this to the defines section of the supplementary code window available from the project options window.
#define TMR0IE T0IE
#define TMR0IF T0IF
Hopefully that will fix the issue.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Error with RC5 Component
Hello Benj,
thank you very much, for help.
This workaround works fine.
best regards
Andreas
thank you very much, for help.
This workaround works fine.
best regards
Andreas