Last active
August 29, 2015 14:10
-
-
Save Arachnid/d237f55cf7839de78662 to your computer and use it in GitHub Desktop.
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
switch (GET_DURATION(*pByte)) { | |
case 7: | |
delay(vel * 6); | |
case 6: | |
delay(vel * 2); | |
case 5: | |
delay(vel * 4); | |
case 4: | |
delay(vel * 4); | |
case 3: | |
delay(vel * 2); | |
case 2: | |
delay(vel * 2); | |
case 1: | |
delay(vel * 2); | |
case 0: | |
delay(vel * 2); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment