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