Created
March 27, 2017 04:01
-
-
Save ArduinoBasics/7b3c507cb2f608dad194cdc0564b1ff5 to your computer and use it in GitHub Desktop.
Arduino Code for the Controllino MAXI to allow you to control the Robotic Arm using Cayenne
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* =============================================================== | |
Project: Hacking the OWI Robotic Arm with Controllino and Cayenne | |
Author: Scott C | |
Created: 14th March 2017 | |
Arduino IDE: 1.8.1 | |
Website: http://arduinobasics.blogspot.com.au | |
Description: Use Cayenne to control the OWI Robotic Arm via the Controllino MAXI. | |
A lot of functionality is built within the Cayenne library. | |
Library File: Install the library file as per the instructions on their website: | |
Cayenne : https://mydevices.com/cayenne/docs/#getting-started-arduino-arduino-setup-using-cayenne-arduino-library | |
The Controllino library is not required for this specific sketch | |
Board Definitions: Ensure you have the Controllino Board Definition as per the GitHub Page: | |
https://github.com/CONTROLLINO-PLC/CONTROLLINO_Library | |
================================================================== */ | |
#include <CayenneEthernet.h> | |
//Cayenne authentication code from Cayenne website | |
char token[] = "INSERT YOUR TOKEN HERE"; | |
void setup(){ | |
Cayenne.begin(token); //Initialise and connect to the Cayenne Dashboard | |
} | |
void loop(){ | |
Cayenne.run(); //Synchronise the Controllino board with the Cayenne Dashboard. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment