Hi everybody
Can't use RTC (MCP7940N) (Storage) globally in one's codes ???????
RTC convert TimStr and MiniSter and SecStr to Float format
-
- Posts: 484
- Joined: Mon Jul 30, 2012 3:39 pm
- Has thanked: 17 times
- Been thanked: 46 times
-
- Posts: 484
- Joined: Mon Jul 30, 2012 3:39 pm
- Has thanked: 17 times
- Been thanked: 46 times
Re: RTC convert TimStr and MiniSter and SecStr to Float format
Hi LeighM
I Want like to be able to use RTC anywhere in the codes also outside RTC - LOOP-END
Want to be used outside the unit RTC LOOP END
Attached file: The code below does do not work globally. works only in the same LOOP END ...
I Want like to be able to use RTC anywhere in the codes also outside RTC - LOOP-END
Want to be used outside the unit RTC LOOP END
Attached file: The code below does do not work globally. works only in the same LOOP END ...
Best Regard
Monie
Monie
-
- Posts: 484
- Joined: Mon Jul 30, 2012 3:39 pm
- Has thanked: 17 times
- Been thanked: 46 times
Re: RTC convert TimStr and MiniSter and SecStr to Float format
Hi LeighM
Have made RTC Date and Time work outside the LOOP where Time and Date were first set.
That was the only way I could get RTC to work outside the setup.
Do you have a better proposal for codes?
See update file below!
Attached file:
Have made RTC Date and Time work outside the LOOP where Time and Date were first set.
That was the only way I could get RTC to work outside the setup.
Do you have a better proposal for codes?
See update file below!
Attached file:
Best Regard
Monie
Monie
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
Re: RTC convert TimStr and MiniSter and SecStr to Float format
Hi Monie,
Looks like you have it working.
The RTC can be called anywhere.
The Flowcode simulation step and break-point functions are useful for stepping and checking the overall logic of your program.
Looks like you have it working.
The RTC can be called anywhere.
The Flowcode simulation step and break-point functions are useful for stepping and checking the overall logic of your program.
-
- Posts: 484
- Joined: Mon Jul 30, 2012 3:39 pm
- Has thanked: 17 times
- Been thanked: 46 times
Re: RTC convert TimStr and MiniSter and SecStr to Float format
Hi LeighM
Trying to use The Flowcode simulation step and breakpoint functions!
But in Simulation speed I can only set the number "0.25" can choose others but at the start of Simulation it returns to "0.25".
Want to set simulation step to Normal and be able to save the selected number. Hope you can see what I'm doing wrong
Isn't there one here! That will describe how Simulation speed can be written and saved and Simulation speed startup = Normal ???????
With dsPIC (MI5809) I try to set Simulation speed to Normal, but always return to number "0.25".
Isn't there anyone who can answer here?
Trying to use The Flowcode simulation step and breakpoint functions!
But in Simulation speed I can only set the number "0.25" can choose others but at the start of Simulation it returns to "0.25".
Want to set simulation step to Normal and be able to save the selected number. Hope you can see what I'm doing wrong
Isn't there one here! That will describe how Simulation speed can be written and saved and Simulation speed startup = Normal ???????
With dsPIC (MI5809) I try to set Simulation speed to Normal, but always return to number "0.25".
Isn't there anyone who can answer here?
Last edited by Monie Jacobsen on Thu Mar 14, 2019 4:08 pm, edited 1 time in total.
Best Regard
Monie
Monie