Hi, I am developing an application using Zephyr for nRF5340CPU. In the program there are the statements inserted to conditionaly display few parameters on norma 16x2 alphanueric LCD. To conditionaly, include the LCD code in compilation, #define SEND_TO_LCD 1 is declared in main.h file. The code for LCD is written in another file (esp8266.c). The code below is not included and remains unheiglighted as shown in attached iamge.
#ifdef SEND_TO_LCD
while(temp<k){
lcd_data_byte(esp_buffer[temp]);
temp++;
if(temp==20)lcd_goto2(0);
else if(temp==40)lcd_goto3(0);
else if(temp==80)lcd_goto4(0);
}
#endif
Gulzar Singh