Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
muhammad faheem
Published

Controlling LED

Controlling LED by using Arduino Mega and Ethernet shield.

BeginnerShowcase (no instructions)9 minutes6,196
Controlling LED

Things used in this project

Story

Read more

Schematics

arduino_led_step2_bb_(1)_UxTzEmDe79.png

Code

Untitled file

Arduino
//#define CAYENNE_DEBUG         // Uncomment to show debug messages
#define CAYENNE_PRINT Serial  // Comment this out to disable prints and save space
#include <CayenneEthernetW5200.h>

// Cayenne authentication token. This should be obtained from the Cayenne Dashboard.
char token[] = "AuthenticationToken";

void setup()
{
	Serial.begin(9600);
	Cayenne.begin(token);
}

void loop()
{
	Cayenne.run();
}

Credits

muhammad faheem
1 project • 3 followers
hi!i am student of electrical engineering in cecos universty peshawar.
Contact

Comments

Please log in or sign up to comment.