Project tutorial
Led fading using 1Sheeld

Led fading using 1Sheeld © MIT

Control LED light fading using smartphone.

  • 912 views
  • 1 comment
  • 2 respects

Components and supplies

About this project


Code

Untitled fileArduino
#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

Schematics

Led fading with onesheeld circuit
Fading%20led%20with%20slider bb

Comments

Similar projects you might like

4x4x4 LED cube with Arduino Uno and 1sheeld

Project tutorial by Hassan Ibrahim

  • 36,116 views
  • 7 comments
  • 65 respects

SMS based Home Automation system using 1SHEELD

Project tutorial by Tanishq Jaiswal

  • 30,251 views
  • 11 comments
  • 65 respects

Arduino can hear and understand your voice with 1Sheeld !

Project tutorial by Alessandro Didonna

  • 4,362 views
  • 1 comment
  • 11 respects

Control a RGB Led using Arduino and a smartphone's camera

Project tutorial by Mr robot Maker

  • 3,334 views
  • 1 comment
  • 10 respects

Controlling LED light intensity using smartphone light senso

Project tutorial by Nikola Travis

  • 3,051 views
  • 0 comments
  • 4 respects

Bluetooth Steering wheel for a robot using 1Sheeld

Project tutorial by Kristian Blåsol

  • 2,900 views
  • 1 comment
  • 13 respects
Add projectSign up / Login