Tip |
---|
This page explains how to set up the programming environment on a computer needed to program a CrcDuino board:
|
...
1. Download the latest Arduino IDE from the Arduino website. Don't be shy do snoop around the website. There's a lot of useful information on what Arduino is and how you can use it in an endless number of ways!
...
Info |
---|
Since we installed the Arduino drivers at the same time as the IDE itself, your computer should now recognize the board if you plug it in. If not, the driver can be manually downloaded using the link at the bottom of this page. |
6. Select the COM Port through which the computer connected with the board. If there's nothing else plugged in the computer (like in this demo), it should have connected to COM3. Therefore, it's the only one available. The COM port used doesn't matter, but it’s important to choose the one corresponding to the CrcDuino. Bear in mind that it might change from time to time depending on what is plugged into the computer used.
...
A library is a set of files that contains different functions to be used in your program. For the IDE to know what the functions called in the code refer to, it needs to know where they are defined and detailed. With CrcLib, the library needs to be manually installed to the appropriate folder on the coding computer.
6. Download the latest CrcLib .zip file from Bitbucket, available on this page.
PHOTO
the following webpage:
http://robo-crc.ca/participant-portal
7. Un-ZIP the downloaded .zip file, and drill-down until a folder called CRCLib
, as well as folders called CrcDependency_xyz
, are shown. Note that depending on the library version used, the exact name of the files might be a little different from the one pictured just below.
...
8. Identify the Arduino sketchbook location in Arduino IDE by going to File-Preferences, and navigate to that location using Windows File Explorer. Open the Folder called librairies
libraries
.
...
9. Copy-paste the CrcLib folder and its dependencies to the librairies
libraries
folder.
Note |
---|
If there’s already previous CrcLib versions (or one of its dependencies beginning wit CrcDependency) in the |
...
10. Close and restart Arduino IDE.
11. Arduino IDE is now all set up to program the CrcDuino using CrcLib functions. When compiling the code (ctrl-R), the IDE recognizes the CrcLib.h
file.
...