Nado Hollow
Published © MIT

Led fading using 1Sheeld

Control LED light fading using smartphone.

BeginnerFull instructions provided1,708
Led fading using 1Sheeld

Things used in this project

Schematics

Led fading with onesheeld circuit

Code

Untitled file

Arduino
#define CUSTOM_SETTINGS
#define INCLUDE_SLIDER_SHIELD

#include <OneSheeld.h>

int ledPin = 11;

void setup() {
  // put your setup code here, to run once:
  OneSheeld.begin();
  pinMode(ledPin,OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
  analogWrite(ledPin,Slider.getValue());  
}

Led fading with 1sheeld code

Credits

Nado Hollow

Nado Hollow

2 projects • 4 followers

Comments