You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:36:6: note: candidate: operator&=(_EPortType&, int) <built-in>
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:36:6: note: conversion of argument 1 would be ill-formed:
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:36:9: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
PORTB&=~0x04;
^~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:38:6: error: no match for 'operator|=' (operand types are '_EPortType' and 'int')
PORTB|=0x04;
~~~~~^~~~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:38:6: note: candidate: operator|=(_EPortType&, int) <built-in>
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:38:6: note: conversion of argument 1 would be ill-formed:
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:38:8: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
PORTB|=0x04;
^~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:40:6: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
PORTB&=~0x04;
~~~~~^~~~~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:40:6: note: candidate: operator&=(_EPortType&, int) <built-in>
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:40:6: note: conversion of argument 1 would be ill-formed:
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:40:9: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
PORTB&=~0x04;
^~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h: In function 'void lcd_cmd(unsigned char)':
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:54:7: error: no match for 'operator&=' (operand types are '_EPortType' and 'int')
PORTB&=~0x07;
~~~~~^~~~~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:54:7: note: candidate: operator&=(_EPortType&, int) <built-in>
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:54:7: note: conversion of argument 1 would be ill-formed:
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:54:10: error: cannot bind non-const lvalue reference of type '_EPortType&' to an rvalue of type '_EPortType'
PORTB&=~0x07;
^~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:55:19: error: lvalue required as left operand of assignment
PORTB=((cmd&0xF0));
^
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:57:26: error: lvalue required as left operand of assignment
PORTB=(((cmd&(0x0F))*16));
^
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h: In function 'void lcd_char(unsigned char)':
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:64:8: error: lvalue required as left operand of assignment
PORTB=0x01;
^~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:65:8: error: lvalue required as left operand of assignment
PORTB=0x00;
^~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:66:22: error: lvalue required as left operand of assignment
PORTB=(single&0xF0)|0x01;
^~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:68:29: error: lvalue required as left operand of assignment
PORTB=((single&(0x0F))*16)|0x01;
^~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h: In function 'void lcd_string(unsigned char*)':
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:75:8: error: lvalue required as left operand of assignment
PORTB=0x01;
^~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:76:8: error: lvalue required as left operand of assignment
PORTB=0X00;
^~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:81:26: error: lvalue required as left operand of assignment
PORTB=((str[k])&0xF0)|0x01;
^~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:83:31: error: lvalue required as left operand of assignment
PORTB=((str[k]&(0x0F))*16)|0x01;
^~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h: In function 'void lcd_string_signed(char*)':
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:91:8: error: lvalue required as left operand of assignment
PORTB=0x01;
^~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:92:8: error: lvalue required as left operand of assignment
PORTB=0X00;
^~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:97:26: error: lvalue required as left operand of assignment
PORTB=((str[k])&0xF0)|0x01;
^~~~
C:\Users\hp\Documents\Arduino\libraries\lcd/LCD.h:99:31: error: lvalue required as left operand of assignment
PORTB=((str[k]&(0x0F))*16)|0x01;
^~~~
Multiple libraries were found for "LCD.h"
Used: C:\Users\hp\Documents\Arduino\libraries\lcd
Not used: C:\Users\hp\Documents\Arduino\libraries\1027037-f5231e9d1ae62b25816934e55cc64ec8d104c803
exit status 1
Error compiling for board Arduino MKR WiFi 1010.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The text was updated successfully, but these errors were encountered:
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;
The text was updated successfully, but these errors were encountered: