Project in progress
Torch LED Library

Torch LED Library © GPL3+

These libraries for a torch can do different functions. Each version is similar to each other with updated functionality and control.

  • 758 views
  • 0 comments
  • 2 respects

Components and supplies

A000066 iso both
Arduino UNO & Genuino UNO
Arduino capable board
×1

Apps and online services

About this project

These are libraries for a torch that can do different functions. Each version is similar to each other with updated functionality and control.

Torch_LED_V1

Torch_LED_V1 is the first library for the control of light functions within torches. There can be any number of functions that can be used to control the torch LEDs. There are 7 built-in functions within the library that can be used and 6 are set at default functions. There is also an ability to make your own functions, this will help you get the best settings for your torch.This library gets controlled internally by a button presses. By pressing the button, it will cycle through each function. Once there are no more functions, the torch will turn off. If the button is held down for more than 3 seconds the torch will turn off.

Torch_LED_V2

This library is very similar to Torch_LED_V1 but with updated functions, different setup and updated internal button control. The setup to try to make it easier to implement into any design.This library for the control of light functions within torches. There can be any number of functions that can be used to control the torch LEDs. There are 7 built-in functions within the library that can be used and 6 are set at default functions. There is also an ability to make your own functions, this will help you get the best settings for your torch.This library does not by default gets controlled internally by a button press but it can light in Torch_LED_V1. By pressing the button, it will cycle through each function. Once there are no more functions, the torch will turn off. If the button is held down for more than 3 seconds the torch will turn off.

Torch_LED_V3

This library is similar to Torch_LED_V1 and Torch_LED_V2 but with major updated to functions, different setup and button control. The setup to try to make it easier to implement into any design and ay number of LEDs or functions.This library for the control of light functions within torches. There can be any number of functions or LEDs that can be used to control. There are 4 built-in functions within the library that can be used. The default functions are run the number of times that there are LEDs to allow each LED to be lit up. There is also an ability to make your own functions, this will help you get the best settings for your torch.Torch_LED_V3 does not gets controlled internally by a button press but instead by the Button class. The Button class is not required for the Torch_LED_V3 to be used and implement into any design. Functions NextFunction, GotoFunction and off are used to control the Torch_LED_V3 light functions.

Code

Schematics

Simple LED connection
Led image stsau0ezz9

Comments

Similar projects you might like

RGB LED Fading Arduino Library

Project in progress by tinkersprojects

  • 1,261 views
  • 1 comment
  • 4 respects

Bluetooth control led with lcd led status display real time.

Project tutorial by Youssef Sabaa

  • 17,292 views
  • 4 comments
  • 34 respects

LED Emergency Lights using WS2812 RGB LED Module

Project tutorial by bigboystoys13

  • 10,004 views
  • 5 comments
  • 20 respects

G-Code Arduino Library

Project in progress by tinkersprojects

  • 691 views
  • 0 comments
  • 9 respects

Control your LED with Cortana

Project tutorial by Mohamed Emam

  • 8,680 views
  • 7 comments
  • 21 respects

LED Dice

Project showcase by ONYX

  • 9,359 views
  • 1 comment
  • 18 respects
Add projectSign up / Login