I was reading through the code and saw this:
/**
* Display Routines
* These two display routines print a line of characters to the upper and lower lines of the 16x2 display
*/
void printLine1(char *c){
if (strcmp(c, printBuff)){
lcd.setCursor(0, 0);
lcd.print(c);
strcpy(printBuff, c);
count++;
}
}
void printLine2(char *c){
lcd.setCursor(0, 1);
lcd.print(c);
}
/**
* Building upon the previous two functions,
* update Display paints the first line as per current state of the radio
*
* At present, we are not using the second line. YOu could add a CW decoder or SWR/Signal strength
* indicator
How would you add a SWR function to the second line? This would be very handy since i make my own antennas!
/**
* Display Routines
* These two display routines print a line of characters to the upper and lower lines of the 16x2 display
*/
void printLine1(char *c){
if (strcmp(c, printBuff)){
lcd.setCursor(0, 0);
lcd.print(c);
strcpy(printBuff, c);
count++;
}
}
void printLine2(char *c){
lcd.setCursor(0, 1);
lcd.print(c);
}
/**
* Building upon the previous two functions,
* update Display paints the first line as per current state of the radio
*
* At present, we are not using the second line. YOu could add a CW decoder or SWR/Signal strength
* indicator
How would you add a SWR function to the second line? This would be very handy since i make my own antennas!