Created
August 22, 2023 01:41
-
-
Save nimaid/80d26ebc2483d41acb4c7f549bef6d13 to your computer and use it in GitHub Desktop.
Minecraft "Redstone Pen" RLC Code - Shift Register
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A simple shift register | |
# | |
# U is clock | |
# D is data in | |
# R, B, Y, G is out (in order) | |
G=IF(U.RE, Y, G) | |
Y=IF(U.RE, B, Y) | |
B=IF(U.RE, R, B) | |
R=IF(U.RE, D, R) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment