Files
qlock-two/Firmware/include/matrix.h

23 lines
557 B
C

/*
* matrix.h
*
* Created on: 24.01.2016
* Author: BlexTw11
*/
#ifndef INCLUDE_MATRIX_H_
#define INCLUDE_MATRIX_H_
#include <avr/pgmspace.h>
#include "woerter.h"
const uint8_t log_lookup[64] PROGMEM =
{0, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 7, 8, 9, 9, 10, 11, 12, 13, 15, 16, 17, 19, 21, 23,
25, 27, 29, 32, 35, 38, 41, 45, 49, 54, 59, 64, 70, 76, 83, 90, 98, 107, 117, 128, 139, 152, 165, 180, 197, 214, 234, 255};
uint8_t qlock_matrix[MAX_COLS][MAX_ROWS];
#endif /* INCLUDE_MATRIX_H_ */