LG dryers show nP when they are not getting proper power, a code the manual groups with PS and PF. Look at the house supply and the cord connection, and check for a tripped breaker or blown fuse.
What it means
No proper power
LG dryer (DLE3400/DLG3401 owner's manual), DLE3400*, DLG3401* Minor
Regions: United States
What the manual says
Grouped by the manual with PS and PF: a power cord or house supply problem, or a tripped breaker or blown fuse. Check the supply and the cord connection.