Hi! I’m new to using the Arduino and programming in general, but for a small project, I want to turn on an LED wirelessly using the Arduino Uno and a CC3000 WiFi Shield. I also want to incorporate REST API into it, but I’m not sure how. I've been looking around the internet, but I can’t seem to find any tutorials that specifically work with the Arduino Uno and CC3000 Wifi Shield. I have an Arduino Uno, CC3000 WiFi Shield, jumper wires, 2 LED, a breadboard, and two 220 ohm resistors. I've soldered the WiFi Shield and connected it to the Arduino Uno. I’m still a beginner with all of this so any help would be much appreciated. Thanks!
Also, do you know any codes that are compatible with the REST API that I can use to turn on and off the LED?
I have learned the basics of Arduino, such as making the Arduino -- without the WiFi shield -- blink and fade: in fact, I have managed to make the Arduino have a single LED both blink then fade, vice versa, and then at the same time. I have tried learning the basics, but I am stumped at how to make the WiFi shield work at all. Do I want someone to give me code for my project? Not exactly, I want an example, just like how the IDE has examples of blinking, fading, and sensors. It would help if someone gave me a foundation to play around with and work on, for I simply do not understand what makes the code work through the REST API. I just want the Arduino to blink via WiFi.
Thank you for the tutorial, but that WiFi shield does not quite match mine. My shield are missing a few pins in the tutorial you posted, so the code does not work with the hardware I have.
I have gotten the wiring down, but now the Arduino either stays on the "Listening for connections..." forever or the serial monitor prints four (sometimes eight) unreadable characters (or spaces).