Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
for(int i = 0; i < arr.length; i++){ | |
long number = arr[i]; | |
int[] digits = new int[6]; | |
for(int j = 0; j < 6; j++){ | |
digits[i] = number % 10; | |
number = number / 10; | |
} | |
arr[i] = (digits[0] + digits[5]) * 10000 |
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
.set DEVICE = 2313 | |
.set CHAR_DELAY = 244 | |
.set LINE_DELAY = 488 | |
.equ CONF_N = 8 | |
.equ CONF_F = 0 //4 | |
.equ CONF_D = 4 | |
.equ CONF_C = 0 //2 | |
.equ CONF_B = 0 //1 |
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
int lD = 250; | |
int lnD = 500; | |
int N = 0x8; | |
int F = 0x4; | |
int RS = 0; | |
int RW = 1; | |
int E = 2; | |
int DB4 = 4; |