Page 1 of 1

Getting my program to loop properly

Posted: Tue Feb 07, 2017 6:58 am
by E*2Engineer
Hello all,
I have the start of a splash program I am writing for my MikroElektronika EasyPic V7 development board which has plenty of LED's,
a buzzer, display, and such I can include.
The program, as is runs once, but I would like it to loop. I am using macros, as the program will be getting
much more complex. But I have found using jump points doesn't work, neither did what else I've tried.
(I confess I've forgotten.) Any recommendations? I am open to better/cleaner programming practices as well.
Thanks,
-CC

Re: Getting my program to loop properly

Posted: Tue Feb 07, 2017 9:52 am
by LeighM
Hi,
Do you mean something like this ...
loop.jpg
loop.jpg (28.92 KiB) Viewed 3478 times

Re: Getting my program to loop properly

Posted: Tue Feb 07, 2017 9:25 pm
by E*2Engineer
Hi Leigh,
Yes that is it. I've even written programs in that way myself.
Really don't understand how I missed the obvious there...........
Thanks,
-CC