RTC Emulator
ProcessingData...
Posts: 208
I have been using the Propeller_RTC_Emulator object in one of my projects.
It seems to me that the current minutes Should be stored in the variable MM in the Propeller_RTC_Emulator_DEMO object.
However, when I print the value to the screen using the vga_text Dec function, it prints "0".
Can anyone explain how to get the minutes value from this object?
It seems to me that the current minutes Should be stored in the variable MM in the Propeller_RTC_Emulator_DEMO object.
However, when I print the value to the screen using the vga_text Dec function, it prints "0".
Can anyone explain how to get the minutes value from this object?
Comments
Because of the Variable MM always being 0, check_sync_time never runs get_time.
It's on this page:
http://www.rayslogic.com/propeller/Programming/Programming.htm
under:
RTC (Real-Time Clock) Services
"just using the Prop"
I may use your RTC Object later, as it seems a bit more robust than the RTC_Emulator object, but I have solved the problem.
I added a function that returns the value of the MM variable inside the RTC Object, and that seems to work fine.
Thanks for the help!