Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
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

muhammad faheem

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

Comments