I get error using 12f629 and RB0/INT
Posted: Thu Oct 04, 2007 7:50 pm
I have been trying make a simple application to learn interrupt routine using a 12F629 chip. I get:
=========================
File name: C:\Program Files\Matrix Multimedia\AJL\12c629MacroTMRx.c
Generated by: Flowcode v3.2.1.38
Date: Thursday, October 04, 2007 13:19:31
Licence: Professional
Registered to: Arthur Loya
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\boostc.pic16.flowcode.exe -v -t PIC12F629 "12c629MacroTMRx.c"
BoostC Optimizing C Compiler Version 6.70 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2007 Pavel Baranov
Copyright(C) 2004-2007 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
12c629MacroTMRx.c
Starting preprocessor: "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\pp.exe" "C:\Program Files\Matrix Multimedia\AJL\12c629MacroTMRx.c" -i "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\include" -d _PIC12F629 -la -c2 -o 12c629MacroTMRx.pp -v -d _BOOSTC -d _PIC16
C:\Program Files\Matrix Multimedia\AJL\12c629MacroTMRx.c(143): error: missing semicolon
12c629MacroTMRx.c failure
failure
....
Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:
If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.
FINISHED
=======================
Using TMR interrupt work fine, but I can't get RB0/INT
I checked the asm code and did see INTCON, 1 for the timer.
but I'm stumped with RB0/INT (GP2/INT)
I hope you can help!
Thanks,
Art
=========================
File name: C:\Program Files\Matrix Multimedia\AJL\12c629MacroTMRx.c
Generated by: Flowcode v3.2.1.38
Date: Thursday, October 04, 2007 13:19:31
Licence: Professional
Registered to: Arthur Loya
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\boostc.pic16.flowcode.exe -v -t PIC12F629 "12c629MacroTMRx.c"
BoostC Optimizing C Compiler Version 6.70 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2007 Pavel Baranov
Copyright(C) 2004-2007 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
12c629MacroTMRx.c
Starting preprocessor: "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\pp.exe" "C:\Program Files\Matrix Multimedia\AJL\12c629MacroTMRx.c" -i "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\include" -d _PIC12F629 -la -c2 -o 12c629MacroTMRx.pp -v -d _BOOSTC -d _PIC16
C:\Program Files\Matrix Multimedia\AJL\12c629MacroTMRx.c(143): error: missing semicolon
12c629MacroTMRx.c failure
failure
....
Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:
If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.
FINISHED
=======================
Using TMR interrupt work fine, but I can't get RB0/INT
I checked the asm code and did see INTCON, 1 for the timer.
but I'm stumped with RB0/INT (GP2/INT)
I hope you can help!
Thanks,
Art