- Name:
-
srreset
- Syntax:
-
SRRESET
- Description:
-
Reset the hardware SR latch.
The srset command along with srreset can set or reset the SR latch via the PICAXE program. Note that the SR latch can also be configured to be set or reset by hardware peripherals See the srlatch command for more details.
- Applies To:
-
08M2, 14M2, 18M2, 20M2, 20X2
- See Also:
-
- Related Create:
-
- Share:
-
- Print:
-
Title
Description
- Code Example:
-
init: low B.1
high C.4
srlatch %10001100, %00000000
main: srset ; set the latch
pause 5000
srreset ; reset the latch
pause 5000
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.