You want to get the code to write debug output to the serial port to show you that each button is working as expected. You should now write a sketch on the Arduino to test your buttons. If you need to learn more about the Arduino, take a look at the site, there is a lot of basic documentation there. This lets you know that the Arduino is OK and you have the IDE configured correctly. This should program the Arduino and the on-board LED should blink steadily. Click the 'Upload using Programmer' (->) button to load and run the sketch. The example uses pin 13, which on most boards is connected to an on-board LED. This will load up a simple example sketch (Arduino programs are known as sketches) that will blink an LED. Once you've done this select File > Examples > 01.Basics > Blink. Windows will show the COM ports as COM7 or similar. In my case it was 'Arduino Micro' and '/dev/tty.usbmodem1411'. You then need to select the board type and the COM port for your Arduino. If you know what you're doing then just skip to the next step.Ĭonnect your Arduino to your PC (or Mac) using a micro-B USB cable and load up the IDE. If you're not already familiar with Arduino then try out a test sketch to make sure you've got it set up. If you haven't already done so, download the Arduino IDE from and get it installed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |