Hello forum, I am making with 12F675 a timer that ignites PORTB.0 when pressing a pulser in RB.1 and off it to the 40 days but not like doing it, you you can help me please.
Thank you very much
Hello forum, I am making with 12F675 a timer that ignites PORTB.0 when pressing a pulser in RB.1 and off it to the 40 days but not like doing it, you you can help me please.
Thank you very much
Take a look at this Elapsed Timer Demo.
http://www.picbasic.co.uk/forum/showthread.php?t=190
Then, all you need to do is this...Code:Loop: if (DaysChanged= 1) and (Days = 40) then DaysChanged= 0 Gosub ResetTime ' ... Do something here ... endif Goto Loop
DT
hello Darrel
Thank you for your answer but I cannot compile neither to make the tests because I have the version demo and alone I can make 50 you line, he wanted that somebody helped me and he send me to [email protected] the program to make all the test thank you a lot to the person that helped me.
Thank you
Originally Posted by Darrel Taylor
Darrel,
You can explain to me as making it I don't understand and forgive my ignorance.
Thank you
Leonardo
Originally Posted by Darrel Taylor
Nope, Sorry! It's not going to work with the Demo version.
Come back after you buy PicBasic Pro, and I'll tell you all about it.
<br>
DT
Darrel,
Can I make the program with the version demo, if it is can he/she tell this way me as?.
Thank you again
Originally Posted by Darrel Taylor
Well, if it doesn't need to be exact, you might do something like this.<BR><BR>Code:Minutes VAR Byte Hours VAR Byte Days VAR Byte Wait40Days: For Days = 1 to 40 For Hours = 1 to 24 For Minutes = 1 to 60 PAUSE 60000 ; 60 Seconds Next Minutes Next Hours Next Days
Last edited by Darrel Taylor; - 13th August 2005 at 17:39.
DT
Bookmarks