Page 355 - Making things move_ DIY mechanisms for inventors, hobbyists, and artists
P. 355

332        Making Things Move





                 5. Now you need to figure out to which port on your computer your Arduino is
                     hooked up. Open the Device Manager by clicking the Start menu, right-clicking
                     Computer, and choosing Properties. Click Device Manager in the upper-left
                     corner. Expand Ports (COM & LPT). The Arduino will appear as a USB serial
                     port and will have a name like COM3 or COM4, as shown in Figure A-4. Now
                     go back to the Arduino application and choose that port from the Tools | Serial
                     Port menu.

               Now everything is set up, and your Arduino and your computer can communicate
               with each other.

               NowMakeItBlink

               To get the Arduino to do anything for you, you need to give it instructions in a
               language it understands. These instructions are written in a special code language




               FIGURE A-4 Identifying the serial port
   350   351   352   353   354   355   356   357   358   359   360