Problem compiling code


#1

The following statement is giving a compile error LW20 lw20(Serial1, 115200);

It references the statements below

        HardwareSerial* serial;
	unsigned long serialBaud;
	
	LW20(HardwareSerial& Serial, unsigned long BaudRate);

I would appreciate the community’s help in fixing these few lines so that the program compiles.


#2

Can you provide more details? I assume LW20 is a third part library. What is the compile error you see? Which line of code are you calling?