TEST_CONAX_V3

Dodano obsug instrukcji 0xC8 (PIN).

W eepromie int. PIC16F84 mozna wpisa 4 daty.
0x0000 do 0x0001 - data1
0x0002 do 0x0003 - data2
0x0004 do 0x0005 - data3
0x0006 do 0x0007 - data4

przykad:
2197 - 01.07.2009
23E9 - 03.09.2014
3F97 - 31.07.2009


Convert Date To Hex :
Example :
20.09.2004 - 19.12.2004
In Hex - (30 02) 34 49 (30 02) 33 4C

34 49 = 20.09.2004
xx x9 = 09 ( month - september )
2x 4x = 2004 ( year )
14 xx = 20 ( date of the month )

xx x9 + 2x 4x = 2x 49 ( month + year )
2x 49 + 14 xx = 34 49 ( (month + year) + date of the month )
---------------------------------------------------------------
33 4C = 19.12.2004
xx xC = 12( month - December)
2x 4x = 2004 ( year )
13 xx = 19( date of the month )

xx xC + 2x 4x = 2x 4C ( month + year )
2x 4C + 13 xx = 33 4C ( (month + year) + date of the month ) 