Yes I am using internal memory.Originally Posted by DynamoBen
The program definitions are as follows:
I am programming a timing device in PicBasic. I would like some help with the software architecture. I would like to have 5-10 different timing structures which can be changed via a computer connected to the PIC. An Example of a time sequence is as follows:
Long Pulse = 1 Second (Long), Short Pulse = 1/2 Second (Short)
3 Minutes - 3 Long
2 Minutes - 2 Long
1 1/2 Minutes - 1 Long and 1 Short
1 Minute - 1 Long
30 Seconds - 3 Short
20 Seconds - 2 Short
10 Seconds - 1 Short
5 Seconds - 1 Short
4 Seconds - 1 Short
3 Seconds - 1 Short
2 Seconds - 1 Short
1 Seconds - 1 Short
End - 3 Second
The number of intermediate stops is variable between sequences and what the program does at the end of the sequence is selectable, i.e. Stop; Restart immediately; Restart after a period of time; etc..
Bookmarks