Menu Close

Arduino volume control

 

Arduino volume control for Windows  and  vb.net small Project

 

Arduino volume control
Wiring

 

uper

cons→t int button = 2;
const int button2 = 3;
const int led = 9;
int buttonState = 0;
int buttonState2 = 0;
void setup()
{  Serial.begin(9600);
pinMode(led, OUTPUT);
pin_Mode(button, INPUT);
pin__Mode(button2, INPUT);
}
void loop() {
buttonState = digitalRead(button);
buttonState2 = digitalRead(button2);
if ( buttonState == HIGH) {
Serial.println(“A”);
}
if ( buttonState2 == HIGH)
{  Serial.println(“B”);
}
}

Down

 

 

Windows volume contro

Download: Volume Control




For more Please make sure to subscribe to Officialhrm YouTube channel and like Facebook Page.

Thank you for visiting OfficialhrmPlease don’t forget to share this website with your friends.

Posted in Arduino

Leave a Reply

Your email address will not be published. Required fields are marked *