Jordy’s custom RTC component not working in Flowcode V8.2

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
Ariko
Posts: 18
Joined: Tue Feb 23, 2016 10:28 pm
Has thanked: 6 times
Been thanked: 8 times

Jordy’s custom RTC component not working in Flowcode V8.2

Post by Ariko »

Having taken advantage of the 50% off Easter offer I have upgraded from Flowcode V7 to V8.2.
However, I have found that the custom DS1307 RTC component by Jordy101091 no longer works. (Same also for his DS3231 version from http://www.matrixtsl.com/mmforums/viewt ... 58&t=14566)

I note that in the properties panel the pins of Channel 1 are not connected and greyed out. I can assign pins by selecting ‘software’ in the drop down menu but the result is the same in Flowcode V8 i.e. the time and date have arbitrary values and are not updated.
The same program in Flowcode V7 simulates as intended, i.e. the time and date reflect values of the computer time clock.
I am wondering if the CAL file referenced by Jordy’s RTC component has changed between FC V7 and V8 but I do not know how to update the component. There might also be other issues.

I have attached the program and if someone has time perhaps they could take a look. Any advice is welcome.

Many thanks in advance.
Attachments
RTC test FC_V8.fcfx
(14.16 KiB) Downloaded 271 times

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times

Re: Jordy’s custom RTC component not working in Flowcode V8.2

Post by jgu1 »

Hi Ariko!

You will be glad for FC8, so many good thing. :wink:

Display : Go in properties for the display, go to channel and change from Channel1 to Software then you can make your own configuration for pinout.

Concerning RTC I recommend you to use the RTC component in FC8 it work perfect. http://www.matrixtsl.com/mmforums/viewt ... 231#p98934

Advice, after your new install have you check for update in help menu and choose full update. :wink:

Hope this help you :D

Br Jorgen
Attachments
RTC.PNG
(13.12 KiB) Downloaded 366 times
Properties.PNG
(1.33 KiB) Downloaded 366 times

Ariko
Posts: 18
Joined: Tue Feb 23, 2016 10:28 pm
Has thanked: 6 times
Been thanked: 8 times

Re: Jordy’s custom RTC component not working in Flowcode V8.2

Post by Ariko »

Hi Jorgen

Thank you for your quick reply. I did a full update as you suggested - thanks

Changing from 'channel 1' to 'Software' does not work for me.

I specifically want to use Jordy's custom component because it has the 10 alarm timer outputs that the RTC component in FC8 does not have.

Any other ideas?

Br Ariko

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times

Re: Jordy’s custom RTC component not working in Flowcode V8.2

Post by jgu1 »

Well ok Ariko.


Changing from 'channel 1' to 'Software' does not work for me. Strange It work fine here. I don´t know what to do. You may wait until MM team is back from eastern holyday.

Ok 10 alarm, all these people you have to wakeup :lol:

You could make an array or similar which could scan ten different time. :D

Br Jorgen

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Jordy’s custom RTC component not working in Flowcode V8.2

Post by Benj »

Hello,

Here is your program with the channel changed to software. Hope this works for you and not sure why it wasn't changing for you?
RTC test FC_V8.fcfx
(10.01 KiB) Downloaded 300 times

Ariko
Posts: 18
Joined: Tue Feb 23, 2016 10:28 pm
Has thanked: 6 times
Been thanked: 8 times

Re: Jordy’s custom RTC component not working in Flowcode V8.2

Post by Ariko »

Thank you Ben and Jorgen,

I think there is a slight misunderstanding of the problem I am experiencing. No doubt due to the way I initially described the problem.

Using the Jordy's custom RTC component in FC8 does not return the time or date strings. In the program I posted the display shows
45/25/165 and 45:85:85 for the date and time respectively. Neither values get updated.

The same program in FC7 works with the current date and time displayed and they both update correctly.

It was my observation upon loading the program into FC8 that the Channel 1 connections were shown as 'Not connected' and greyed out.
I can add the SDA and SCL pins via the software menu option but the RTC component still does not simulate and I get the values mentioned above.

Whereas in FC7 the default option of 'channel 1' is connected, in my case to PD1 and PD0 of the Leonardo device that I am using.

I am interested to know if by running my example program you were able to get the correct results.

Jordy's componment was a very convenient solution but I guess I might have to recreate the timer functions long hand using the FC8 RTC component if you confirm that there is no easy fix.

Ari

Post Reply