I have a PIC application that will require reading the current value of the timer registers and writing a new value
I know this can be done by inserting some C-Code but the code will not simulate.
is there a way to do this and still have flowcode simulate ?
Something like a component macro?
Thanks,
DC
PIC Timers
Moderator: Benj
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
- Contact:
Re: PIC Timers
Hi
As far as I know everything in a Flowchart simulate except C code call however that does not stop the simulation when C code is included in a Flowchart
only the C code is not simulated
As far as I know everything in a Flowchart simulate except C code call however that does not stop the simulation when C code is included in a Flowchart
only the C code is not simulated
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR
Re: PIC Timers
thanks for the reply.
Reading ant writing the timer registers is the heart of my application.
without this the simulation would be useless.
In general not being able to do this restricts the use of timers quite a bid.
DC
Reading ant writing the timer registers is the heart of my application.
without this the simulation would be useless.
In general not being able to do this restricts the use of timers quite a bid.
DC
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
- Contact:
Re: PIC Timers
There are many ways to over come this problem in my opinion
(1) you can artificially load values to your application to simulate the application which will test that part
(2) you only debug the Timer reads and writes in Hardware after this simulation
(1) you can artificially load values to your application to simulate the application which will test that part
(2) you only debug the Timer reads and writes in Hardware after this simulation
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR