Computer Science, asked by Bushrakhan765, 8 months ago

write a program in Arduino IDE using C++ and upload in Edvino, intialize two variables x and y. Add x and y and save x by using Arithmetic operator and displayed on serial monitor with 5 second delay. please brainlist help me it is very important ​

Answers

Answered by Anonymous
0

Answer:

You can also send data from the Serial Monitor to Arduino by entering text in the text box to the left of the Send button. Baud rate is selected using the drop-down box on the bottom right. You can use the drop down labeled “No line ending” to automatically send a carriage return or a combination of a carriage return and a line at the end of each message sent when clicking the Send button.

Your Arduino sketch can use the serial port to indirectly access (usually via a proxy program written in a language like Processing) all the resources (memory, screen, keyboard, mouse, network connectivity, etc.) that your computer has. Your computer can also use the serial link to interact with sensors or other devices connected to Arduino.

Implementing serial communications involves hardware and software. The hardware provides the electrical signaling between Arduino and the device it is talking to. The software uses the hardware to send bytes or bits that the connected hardware understands. The Arduino serial libraries insulate you from most of the hardware complexity, but it is helpful for you to understand the basics, especially if you need to troubleshoot any difficulties with serial communications in your projects.

Serial communications provide an easy and flexible way for your Arduino board to interact with your computer and other devices. This chapter explains how to send and receive information using this capability.

Chapter 1 described how to connect the Arduino serial port to your computer to upload sketches. The upload process sends data from your computer to Arduino and Arduino sends status messages back to the computer to confirm the transfer is working. The recipes here show how you can use this communication link to send and receive any information between Arduino and your computer or another serial device.

Explanation:

Upload the sketch and send messages using the Serial Monitor. Open the Serial Monitor by clicking the Monitor icon (see Recipe 4.1) and type a digit in the text box at the top of the Serial Monitor window. Clicking the Send button will send the character typed into the text box; you should see the blink rate change.

Answered by Anonymous
0

\huge</p><p>\red{\mid{\underline{\overline{\textbf{Hi\:Mate}}}\mid}}

\huge</p><p>\blue{\mid{\fbox{\tt{Answer}}\mid}}

&lt;body bgcolor=white&gt;&lt;marquee direction="down"&gt;&lt;font color=rehcdjddv&gt;

UR ANSWER IS IN ABOVE PICTURE

&lt;body bgcolor=white&gt;&lt;marquee direction="up"&gt;&lt;font color=yellow&gt;

MARK MEAS BRAINLIST

&lt;svg width="250" height="250" viewBox="0 0 100 100"&gt;\ \textless \ br /\ \textgreater \ \ \textless \ br /\ \textgreater \ &lt;path fill="black" d="M92.71,7.27L92.71,7.27c-9.71-9.69-25.46-9.69-35.18,0L50,14.79l-7.54-7.52C32.75-2.42,17-2.42,7.29,7.27v0 c-9.71,9.69-9.71,25.41,0,35.1L50,85l42.71-42.63C102.43,32.68,102.43,16.96,92.71,7.27z"&gt;&lt;/path&gt;\ \textless \ br /\ \textgreater \ \ \textless \ br /\ \textgreater \ &lt;animateTransform \ \textless \ br /\ \textgreater \ attributeName="transform" \ \textless \ br /\ \textgreater \ type="scale" \ \textless \ br /\ \textgreater \ values="1; 1.5; 1.25; 1.5; 1.5; 1;" \ \textless \ br /\ \textgreater \ dur="2s" \ \textless \ br /\ \textgreater \ repeatCount="40"&gt; \ \textless \ br /\ \textgreater \ &lt;/animateTransform&gt;\ \textless \ br /\ \textgreater \ \ \textless \ br /\ \textgreater \ &lt;/svg&gt;

Attachments:
Similar questions