I wanted to know how to record an event that occurs at a certain date and time.
For example the Input 2 changed its state on 23rd of March 2015 at 13:00:03 from 0 to 1.
Does MIAC have a clock?
Thanks
Giovanni
Does the MIAC have a clock?
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: Does the MIAC have a clock?
The is no real time clock in MIAC, the advanced expansion module (MI3846) contains a real time clock. Keep in mind Flowcode 6 does not support the expansion modules for MIAC.
You could create your own clock using a timer and interrupts, however this would require manually setting the time after reset/power up.
You could create your own clock using a timer and interrupts, however this would require manually setting the time after reset/power up.
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis