Hello !
I have a pb when I want to compile a program who implement RS232 on the 18F6390.
Flowcode tells me that :
C:\Documents and Settings\Mathieu\Bureau\test 18f6390\Flowcode1.c(515:10): error: unknown identifier 'rcreg'
C:\Documents and Settings\Mathieu\Bureau\test 18f6390\Flowcode1.c(515:10): error: invalid operand 'rcreg'
C:\Documents and Settings\Mathieu\Bureau\test 18f6390\Flowcode1.c(515:8): error: failed to generate expression
C:\Documents and Settings\Mathieu\Bureau\test 18f6390\Flowcode1.c(529:11): error: unknown identifier 'rcreg'
C:\Documents and Settings\Mathieu\Bureau\test 18f6390\Flowcode1.c(529:11): error: invalid operand 'rcreg'
C:\Documents and Settings\Mathieu\Bureau\test 18f6390\Flowcode1.c(529:9): error: failed to generate expression
Flowcode1.c success
What's the problem ??
Thank you !
Pb with RS232 and 18F6390
- 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: Pb with RS232 and 18F6390
Hello
Ok the problem is caused by the target device having more then one hardware UART.
You can follow these steps to get your program to compile.
1) Click on Edit -> Supplementary code.
2) Paste the following line into the definitions box.
#define rcreg rcreg1
3) Click ok and save, your program should now compile correctly.
Ok the problem is caused by the target device having more then one hardware UART.
You can follow these steps to get your program to compile.
1) Click on Edit -> Supplementary code.
2) Paste the following line into the definitions box.
#define rcreg rcreg1
3) Click ok and save, your program should now compile correctly.
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