Attached is a commented flowchart which shows how to use the BST function, its quite cool watching the demo add or subtract an hour

if i have time later today i will put up a chart for the timers
Regards
Dazz
Moderator: Benj
I have investigated this some more and I think you are not correct, or its just me.acestu wrote:Hi Jordy,
I have just had another look at the component, I am only giving you some input, all commercially available time clocks usually have:
4 x on - off timed periods
They can be either
24hr which means that the on - off times will work every single day at the same time
7 day which means that you can select which day to work
5 -2 which means that you can have the on - off period different at weekends
Now consider this with your timer, if I wanted a heating system to come on at 7.00am until 8.00am then 12.00pm until 1.00pm then 4.00pm until 10.00pm every day, I would need 21 timers to do this, so there is going to have to be another parameter in there which you can set for 24HR, 5Day or 2Day
Am I making sense?
cheers
Acestu
What is the error you are getting? Perhaps if I can replicate that here then I can help?when I assign a true ore false statement to the corresponding output pin I get a some strange error message from Flowcode when I want to test it so you cannot use the output pins at this moment.
When I get home in will check your flowcode programacestu wrote:Hi Jordy,
I put this chart togethor last night, could you have a look at it please and see if I have done it correctly ......
Thanks
Acestu
The error I'm getting is some kind of syntax error.JonnyW wrote:Evening Jordy.
What is the error you are getting? Perhaps if I can replicate that here then I can help?when I assign a true ore false statement to the corresponding output pin I get a some strange error message from Flowcode when I want to test it so you cannot use the output pins at this moment.
Cheers,
Jonny
Code: Select all
Target folder: \\NASHJJAKL\Jordy Kleian\D6ULV5~V\FKZ0BJ~O\FHCR4V~2\TVVGTI~B\DS1307
Source name: \\NASHJJAKL\Jordy Kleian\Documenten\Flowcode Projects\Flowcode v6 Componenten\Time Keeping\DS1307\DS1307.fcfx
Title:
Description:
Device: PIC.16F.16F877A
Generated by: Flowcode v6.0.3.0
Date: Sunday, November 17, 2013 13:41:00
Users: 1
Registered to: jordy101091
Licence key: B55ZN2
NIET VOOR COMMERCIELE TOEPASSINGEN
http://www.matrixmultimedia.com
Fouten bij het genereren van C-code:
DS1307.c : 1954 : error : Syntaxfout
DS1307.c : 1963 : error : Syntaxfout
KLAAR
This is, because you are now using the updated component V1.4 which includes auto DOW calculation you do not have to enter the Day of week you self. But in Flowcode you have used the old component where you have to specify the day of week.acestu wrote:Hi Jordy,
Now you have released your newest version, I have modified my chart to suit, could you have a look and see if you think it is right please...
cheers
Acestu
EDIT Also I did notice this: I forgot to change the date in write date ie yesterdays date, and I received this message--