After running the Arduino Program on my Windows machine I got the following error my code and error are as below.
Also the COM port was turned grey i.e. disbaled.
#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,5,4,3,2);
void setup()
{
lcd.begin(16, 2);
}
void loop()
{
lcd.print("Hello, World!");
delay(500);
lcd.clear();
delay(500);
}
It displayed as shown below
Arduino: 1.8.14 (Windows 10), Board: "Arduino Uno" Sketch uses 1894 bytes (5%) of program storage space. Maximum is 32256 bytes. Global variables use 59 bytes (2%) of dynamic memory, leaving 1989 bytes for local variables. Maximum is 2048 bytes. Serial port not selected.