From d384fc57734012a08470292313916d3092e995b2 Mon Sep 17 00:00:00 2001 From: "Daniil A. Smirnov" Date: Fri, 12 May 2023 23:24:22 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B8=D0=B2=D0=B5=D0=BB=20=D0=BA?= =?UTF-8?q?=D0=BE=D0=B4=20=D0=B2=20=D1=86=D0=B8=D0=B2=D0=B8=D0=BB=D1=8C?= =?UTF-8?q?=D0=BD=D1=8B=D0=B9=20=D0=B2=D0=B8=D0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fw/perf.c | 628 ++++++++++++------------------------------------------ 1 file changed, 132 insertions(+), 496 deletions(-) diff --git a/fw/perf.c b/fw/perf.c index e27e6a9..abe9e4e 100755 --- a/fw/perf.c +++ b/fw/perf.c @@ -6,116 +6,52 @@ #define OmegaPort PORTB #define OmegaPINnum PB0 +#define imp 25 +#define impHi 93 +#define impLo0 399 +#define impLo1 206 +#define impLo2 107 + +uint8_t code1[imp] = {0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2}; +uint8_t code2[imp] = {0,1,2,1,2,2,2,2,2,2,1,1,2,2,2,2,2,1,1,2,1,2,2,2,2}; +uint8_t code3[imp] = {0,2,1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2}; +uint8_t code4[imp] = {0,2,2,1,1,2,2,2,2,1,2,1,1,2,1,2,2,1,2,2,1,1,1,2,2}; +uint8_t code5[imp] = {0,1,1,1,2,2,2,2,2,1,2,2,1,1,2,2,2,2,2,2,2,2,1,2,2}; + int main(void) { OmegaDDR &= ~(1<