PZEM017 library error

Hi Sirs
I want to ask a question for PZEM017 V1 LIBRARY. I want to measure for DC voltage and current.

I have a error that a below photo and error code

Arduino: 1.8.19 (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Users\ma ma thet\Documents\Arduino\libraries\PZEM-017-v1-master\PZEM017v1.cpp: In constructor 'PZEM017v1::PZEM017v1(uint8_t, uint8_t, uint8_t)':

C:\Users\ma ma thet\Documents\Arduino\libraries\PZEM-017-v1-master\PZEM017v1.cpp:90:32: error: 'SWSERIAL_8N2' was not declared in this scope

 port->begin(PZEM_BAUD_RATE,SWSERIAL_8N2);

                            ^~~~~~~~~~~~

C:\Users\ma ma thet\Documents\Arduino\libraries\PZEM-017-v1-master\PZEM017v1.cpp:90:32: note: suggested alternative: 'SERIAL_8N2'

 port->begin(PZEM_BAUD_RATE,SWSERIAL_8N2);

                            ^~~~~~~~~~~~

                            SERIAL_8N2

exit status 1

Error compiling for board Arduino Mega or Mega 2560.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Help us help you.