1 of 3

Troubleshooting

Can’t upload to board…

Check your port and your board

Tools—Port

Tools—Board

Adafruit Libraries not coming up in Search…

Preferences—Additional Board Manager add this url https://adafruit.github.io/arduino-board-index/package_adafruit_index.json

Install Libraries?

Sketch —Include Libraries—Manage Libraries

Find Examples?

File—Examples— (Library Examples at VERY Bottom of List)

Did you Send the

Code w/ Arrow?

2 of 3

Example Files

On/Off Switch Example

File -Examples -DigitalInputPullup

Potentiometer Example

File —Examples-Analog Input

Vibration Motor

-Use the DRV2605L Haptic Motor Controller

-Add the DRV Library

-Run the Simple Example

NeoPixels

-For Circuit Playground first install the board (Tools —Board Manager) if not already then File-Examples—Circuit Playground —Neopixels

-For Arduino Install Neopixel Library then File-Examples-AdafruitNeopixel-Simple

3 of 3

Syntax

variables:

int (whole number)

bool (true or false)

float (can be percent #)

const int (int that does not change in code later)

if statements:

if (myInput>500)

{

//do this thing

}

else if (myInput is >500 && myInput<800) {

//do another thing

}

else{

//Stop doing the thing

}

for loops:

for(int i; i <10; i++){

//Does thing 10 times, //value of i goes up by //one each time. Used to //iterate action.

}