Flash an LED
Flash an LED by turning it on for 5 seconds, off for 5 seconds, then going to the start and repeating the cycle
- Code Example:
-
main: high B.1 ; switch on output 1 pause 5000 ; wait 5 seconds low B.1 ; switch off output 1 pause 5000 ; wait 5 seconds goto main ; loop back to start
Copy Code Submit an Example
Submit Your Own Code!
You must be logged in to submit code examples. Login now.