|
|
@ -31,7 +31,7 @@ LiquidCrystal lcd(LCD_RS, LCD_EN, LCD_D4, LCD_D5, LCD_D6, LCD_D7); |
|
|
|
void setup() { |
|
|
|
void setup() { |
|
|
|
Serial.begin(115200); |
|
|
|
Serial.begin(115200); |
|
|
|
init485(Max485_RO,Max485_RE,Max485_DE,Max485_DI); // library initialization:
|
|
|
|
init485(Max485_RO,Max485_RE,Max485_DE,Max485_DI); // library initialization:
|
|
|
|
invert485polarity(true); |
|
|
|
//invert485polarity(true);
|
|
|
|
// set up the LCD's number of columns and rows:
|
|
|
|
// set up the LCD's number of columns and rows:
|
|
|
|
lcd.begin(16, 2); |
|
|
|
lcd.begin(16, 2); |
|
|
|
// Print a message to the LCD.
|
|
|
|
// Print a message to the LCD.
|
|
|
|