![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
zavrsni ricci
Dependencies: mbed
Diff: memoria.h
- Revision:
- 0:427833cc260e
diff -r 000000000000 -r 427833cc260e memoria.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/memoria.h Fri Nov 09 16:29:02 2018 +0000 @@ -0,0 +1,26 @@ +#define LEVEL1 0x01 +#define LEVEL2 0x02 +#define LEVEL3 0x03 +#define LEVEL4 0x04 +#define LEVEL5 0x05 +#define LEVEL6 0x06 +#define LEVEL7 0x07 +#define ST_INIT 32 // stato inizializzazione polling +#define ST_M1 33 // voltmetro +#define ST_M2 34 // conta UP +#define ST_M3 35 // conta DWN +#define ST_MMAX 36 // fine menu' + +unsigned char tabSeg[10U]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90}; // 0,1,2,3,4,5,6,7,8,9 +unsigned char tabFunc[9U] = {0x8E,0xC6,0xC1,0x8C,0xC7,0xC0,0x86,0xC8,0xA1}; // 0-F,1-C,2-U,3-P,4-L,5-O,6-E,7-n,8-d +unsigned short stateMach; +TBitFlag bitFlag; +char KeyPress; +char KeyPressInt; // tasto letto nell'nterrupt +char ExKeyPress; // tasto precedente +char cntEqualKey; // contatore di tasti uguali, successivi +char Level; +char stateMbd; +unsigned short CntUp; +unsigned short CntDw; +float ADCdata; \ No newline at end of file