TimedInterval problems compiling

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
mnfisher
Valued Contributor
Posts: 955
http://meble-kuchenne.info.pl
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 104 times
Been thanked: 508 times

Flowcode v10 TimedInterval problems compiling

Post by mnfisher »

Just trying the TimedInterval component - which looks very useful.

However, on a PIC16 - it fails to compile with (depending on Timer chosen):
TestDIP.c:6498:1: error: (192) undefined identifier "FCV_00a91_TimedInterval1__INTCOUNT"
or:
TestDIP.c:6498:1: error: (192) undefined identifier "FCV_00a91_TimedInterval1__INTCOUNT"
TestDIP.c:6506:1: error: (192) undefined identifier "TimerInterval_1_CountRegLow"
TestDIP.c:6506:31: error: (192) undefined identifier "TimerInterval_1_SubPeriod"
TestDIP.c:6510:1: error: (192) undefined identifier "TimerInterval_1_CountRegHigh"
Is it only available for certain MCUs?

I also notice that adding a timer interrupt can give some odd timings for interrupt speed - 0.00Hz - maybe needs a few more digits or display as milli hertz? The value seems a bit off too - for example Source HFINTOOSC (32MHz) TMR0 Input synchronised, prescaler 1:64 and postscaler 1:16 displays as 0.119Hz - counting over a 10s delay gives a count of ~5 which is ~0.5Hz

Martin

Post Reply