Hi,
I'm very new to the PIC microcontroller and I'm just learning the asm coding and I've gotten the LED flasher programs to work. That's where I'm at.
How difficult is it to say, make the LED flash for a specific length of time, say 30s and then stop? Using DIP switches, I'd like to change the 30s to say 45s, so if SW1 is on, loop it for 45s. The flash rate would be ~1s, but it would only flash for 45s in total and then stop.
Is this possible? I haven't seen larger timing loops like this is any of the tutorials.
Any advice / links for me to figure this out? Example code would be extremely helpful as well.
Thanks.
MICRO571
I'm very new to the PIC microcontroller and I'm just learning the asm coding and I've gotten the LED flasher programs to work. That's where I'm at.
How difficult is it to say, make the LED flash for a specific length of time, say 30s and then stop? Using DIP switches, I'd like to change the 30s to say 45s, so if SW1 is on, loop it for 45s. The flash rate would be ~1s, but it would only flash for 45s in total and then stop.
Is this possible? I haven't seen larger timing loops like this is any of the tutorials.
Any advice / links for me to figure this out? Example code would be extremely helpful as well.
Thanks.
MICRO571