Search found 4 matches

Return

by Benj
Mon Jun 27, 2016 11:14 am
Jump to forum
Jump to topic

Re: PIC16F1847.fcd PORTB on change IRQ parameters are wrong

Hi Michael, It is this line in the definition file that will need changing. HandlerCode="#ifndef MX_INTHANDLER_intcon_RBIF\n#define MX_INTHANDLER_intcon_RBIF\nchar mxtmp;\nif (ts_bit(intcon, RBIF) && ts_bit(intcon, RBIE))\n{\n\t#ifdef USE_FLOWCODE_ICD\n\t\textern char ICD_Interrupt_Enab...
by Benj
Wed Jun 29, 2016 9:48 am
Jump to forum
Jump to topic

Re: PIC16F1847.fcd PORTB on change IRQ parameters are wrong

Hello Michael, They are already defined by the compiler just slightly differently than what I was expecting from the datasheet. Here is the correct interrupt code for the FCD. HandlerCode="#ifndef MX_INTHANDLER_intcon_IOCIF\n#define MX_INTHANDLER_intcon_IOCIF\nchar mxtmp;\nif (ts_bit(intcon, IO...
by kersing
Mon Oct 23, 2017 10:08 pm
Jump to forum
Jump to topic

Re: Creating/modifying FCD files to support new chips

Have you checked if the BoostC compiler provided with Flowcode V4 supports the chip? Otherwise you still will not be able to use the chip... Looking at the supported chips for the newest BoostC compiler this chip is not listed so you are out of luck. Flowcode 7 uses a different compiler and lists th...
by mnf
Fri Jan 03, 2020 11:01 am
Jump to forum
Jump to topic

Re: Converting from FLOWcode to C code

Hi Michael, Slightly more efficient would be: FCV_PCLKA = test_bit(porta, 0) .. Are you running out of RAM? - Is memory tight? Can you post some more of the program (or PM if sensitive) / I (and I suspect many others) can't open the FC - later versions aren't backward compatible perhaps Benj or Leig...