Skip to content

Instantly share code, notes, and snippets.

View alexzam's full-sized avatar

AlexZam alexzam

  • Saint-Petersburg
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
.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
@alexzam
alexzam / LCD-Test.ino
Created April 10, 2013 07:56
Test code for LCD screen.
int lD = 250;
int lnD = 500;
int N = 0x8;
int F = 0x4;
int RS = 0;
int RW = 1;
int E = 2;
int DB4 = 4;