Thank you for your responses. Sorry for the lack of information in the original post. The LCD is a 040N004A https://www.vishay.com/displays/list/product-37317/ and yes the library I used with the arduino was the <LiquidCrystal> library.
This is the code I used with the arduino but the R/W pin is grounded now instead of going to pin 13 because I'm using a 5v power supply for the lcd.
Code:
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 13, 11, 10, 5, 4, 3, 2);
//RS, RW, E2, E1, D4, D5, D6, D7
void setup() {
lcd.begin(40,4);
lcd.setCursor(0,0);
lcd.print("VOLTS.:1 = 0");
lcd.setCursor(0,1);
lcd.print("VOLTS.:2 = 0");
lcd.setCursor(0,2);
lcd.print("VOLTS.:3 = 0");
lcd.setCursor(0,3);
lcd.print("VOLTS.:4 = 0");
lcd.setCursor(12,0);
/*****************************************************************************
******************************************************************************/
lcd.print("|");
lcd.setCursor(12,1);
lcd.print("|");
lcd.setCursor(12,2);
lcd.print("|");
lcd.setCursor(12,3);
lcd.print("|");
lcd.setCursor(14,0);
lcd.print("AMPS.:5 = 0");
lcd.setCursor(14,1);
lcd.print("AMPS.:6 = 0");
lcd.setCursor(14,2);
lcd.print("AMPS.:7 = 0");
lcd.setCursor(14,3);
lcd.print("AMPS.:8 = 0");
lcd.setCursor(26,0);
/*****************************************************************************
******************************************************************************/
lcd.print("|");
lcd.setCursor(26,1);
lcd.print("|");
lcd.setCursor(26,2);
lcd.print("|");
lcd.setCursor(26,3);
lcd.print("|");
lcd.setCursor(28,0);
lcd.print("Eing.:9 = 0");
lcd.setCursor(28,1);
lcd.print("Eing.:10= 0");
lcd.setCursor(28,2);
lcd.print("Eing.:11= 0");
lcd.setCursor(28,3);
lcd.print("Eing.:12= 0");
}
void loop() {
}