Boa noite amigos , tudo bem com todos?
Estou com um problema no mikro-c , usava antes o xc8 mas devido a alguns problemas preferi ficar com o Mikro-c.
Tenho uma board que esta desenvolvida porém os pinos do display estão um pouco diferente " Fora de serie ".
Por exemplo D0 - D1 - D2 ai no final por utilidade dos pinos tive que fazer uma mudança para C4 - C5
Segue o código, se alguém puder me ajudar serei grato...
Estou deixando destacado para que possa ver com mais facilidade meu problema.
char GLCD_DataPort at PORTD;
sbit GLCD_D0 at LATD0_bit;
sbit GLCD_D1 at LATD1_bit;
sbit GLCD_D2 at LATD2_bit;
sbit GLCD_D3 at LATD3_bit;
sbit GLCD_D4 at LATD4_bit;
sbit GLCD_D5 at LATD5_bit;
sbit GLCD_D6 at LATC5_bit;
sbit GLCD_D7 at LATC4_bit;
sbit GLCD_D0_Direction at TRISD0_bit;
sbit GLCD_D1_Direction at TRISD1_bit;
sbit GLCD_D2_Direction at TRISD2_bit;
sbit GLCD_D3_Direction at TRISD3_bit;
sbit GLCD_D4_Direction at TRISD4_bit;
sbit GLCD_D5_Direction at TRISD5_bit;
sbit GLCD_D6_Direction at TRISC5_bit;
sbit GLCD_D7_Direction at TRISC4_bit;
sbit GLCD_CS1 at LATB1_bit;
sbit GLCD_CS2 at LATB0_bit;
sbit GLCD_RS at LATB2_bit;
sbit GLCD_RW at LATB3_bit;
sbit GLCD_EN at LATB4_bit;
sbit GLCD_RST at LATB5_bit;
sbit GLCD_CS1_Direction at TRISB1_bit;
sbit GLCD_CS2_Direction at TRISB0_bit;
sbit GLCD_RS_Direction at TRISB2_bit;
sbit GLCD_RW_Direction at TRISB3_bit;
sbit GLCD_EN_Direction at TRISB4_bit;
sbit GLCD_RST_Direction at TRISB5_bit;