Hackster is hosting Hackster Holidays, Ep. 7: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 7 on Friday!
Ahmed Hamdy Mahmoud Hassanein
Published © CC BY-SA

Arduino + Visual Studio = Fast Dev.

Take your Arduino Codes to the next level with easy auto completion and documentation in Visual Studio, it's very simple & fast.

BeginnerProtip1 hour67,923
Arduino + Visual Studio = Fast Dev.

Things used in this project

Story

Read more

Code

LED Blink

Arduino
// the setup function runs once when you press reset or power the board
void setup() {
	// initialize digital pin 13 as an output.
	pinMode(13, OUTPUT);
	Serial.begin(9600);
}

// the loop function runs over and over again forever
void loop() {
	digitalWrite(13, HIGH);   // turn the LED on (HIGH is the voltage level)
	delay(1000);              // wait for a second
	digitalWrite(13, LOW);    // turn the LED off by making the voltage LOW
	Serial.println("A Cycle Completed");
	delay(1000);              // wait for a second
}

Credits

Ahmed Hamdy Mahmoud Hassanein
8 projects • 129 followers
I'm a Muslim Computer Engineer, I do a bit of hardware and any software I'm glad to receive your questions >> ahmedhamdyau@gmail.com peace!

Comments