Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void moveNumbers(){
- if(Serial.available() > 0){
- String myk = Serial.readString();
- Serial.print(myk);
- checkIfCorrectCommand(myk);
- }
- for(int i=0; i<3; i++){
- copyRowOfMatrix(i, i+1, toDisplay, toDisplay);
- }
- copyRowOfMatrix(3, currentWorkingIndex++, toDisplay, currentNumbersToDisplay);
- if(currentWorkingIndex == 6){
- currentWorkingIndex = 0;
- }
- displayArray();
- //delay(timeDelay);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement