/********************************************/ //---------------------------- #define _TRIS_B 0b00000000 //b0-b6 izhodi #define LED_DISPL_A PIN_B5 #define LED_DISPL_B PIN_B4 #define LED_DISPL_C PIN_B3 #define LED_DISPL_D PIN_B2 #define LED_DISPL_E PIN_B1 #define LED_DISPL_F PIN_B6 #define LED_DISPL_G PIN_B7 //****DEFINICIJE IMEN V/I PRIKJU¬KOV #define _TRIS_A 0b00000000 #define RELE_ODPIRAJ PIN_A1 #define RELE_ZAPIRAJ PIN_A0 #define LED_DISPL_DESETICE PIN_A2 #define LED_DISPL_ENICE PIN_A3 #define TOUCH_PIN PIN_A4 //izhod #endif // za tipkovnico 2 tipke #define TRIS_ZA_TIPKE 0b01001000 #bit GOR_INPUT = PORTB.6 #bit DOL_INPUT = PORTB.3