Open 97kingsman opened 2 years ago
Hi, I am sorry. How is this related to the PZEM library? The errors seem to be related to the LCD library.
Hi, I am sorry. How is this related to the PZEM library? The errors seem to be related to the LCD library.
yes you r right i resolved it. i checked your reply later. thankyou for responding
Arduino: 1.8.14 (Windows 10), Board: "Arduino MKR WiFi 1010"
In file included from C:\Users\hp\Desktop\arduinoMkrWifi1010YmLabsGermsDisinfectingMachine\arduinoMkrWifi1010YmLabsGermsDisinfectingMachine.ino:17:0:
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h: In function 'void lcd_init()':
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:25:2: error: 'DDRB' was not declared in this scope
DDRB=0xFF;
^~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:27:8: error: lvalue required as left operand of assignment
PORTB=0x20;
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h: In function 'void latch()':
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:36:6: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
PORTB&=~0x04;