Questions tagged [led]

A light-emitting diode (LED) is a semiconductor light source. LEDs are used as indicator lamps in many devices.

A light-emitting diode (LED) is a semiconductor light source. LEDs are used as indicator lamps in many devices, like mobile phones or micro-controller boards.

733 questions
-2
votes
1 answer

How can I combine these two for loop statements?

Hi I'm using an Arduino to have a column of 4 leds streak across from left to right then back across on a 4x16 led panel. Currently I am using two for loop statements to make this happen but I'm wondering if there is way to combine the two loops or…
Nik
  • 13
  • 5
-2
votes
3 answers

Binary Simulation Using LEDS in C

The goal is to take any int negative or positive and get the binary of it. then take that binary if it is 4 digits or less and display it on LEDS on raspberry Pi. No matter what display the binary with printf. It needs to be scalable so if you want…
jjjj4444
  • 1
  • 4
-2
votes
1 answer

FastLED, how can i change the Number of LEDs (NUM_LEDS) at runtime?

is it possible to change the number of leds at runtime (Arduino/FastLED) ? How can i do that? A small sample code would be nice because i am a newbie :) Thank you!
PascalL
  • 147
  • 2
  • 11
-2
votes
2 answers

Call back function to be called whenever hardware timer elapses a specified elapse time in STM32F101

Hi I want to toggle LED with timing as follows 100ms ON1, 250ms Off1 1250ms ON2, 1500ms off2 and this cycle gets repeated (Both ON1 off1 and ON2 off2 pair repeats) For this I have planned to utilize hardware timer with elapsing timings as…
Taala
  • 41
  • 1
  • 5
-2
votes
2 answers

How would I import an image to an Arduino and convert it to a binary bitstream?

I am working on a project to transmit data using an array of LEDs. However I'm having trouble importing an image to an Arduino. Once I have imported the image I would like to convert it into a binary form so I can transmit the data stream. Could…
Krish
  • 1
-2
votes
1 answer

Toggle LED Python 3.x tkinter

I'm trying to toggle an LED on and off using a GUI. When I execute the code I get a blank box just saying "tk" for the title. import tkinter as tk class Application(tk.Frame): def __init__(self, master=None): super().__init__(master) …
pr0xylien
  • 3
  • 3
-2
votes
1 answer

akku powered esp8266 led stripe system

I want to create a system to control a led stripe with an esp8266, it would be easy if I had a socket for the power supply, but it has to be mobile so I need a akku for it Could you guys please give me some tips for my idea :)
-2
votes
1 answer

Display an Array of HEX values on an LED Matrix with Arduino

So I wrote a script in Processing that can output the HEX values of every pixel of any given image into an array. Im trying to get this FastLED library to read the Array and Im getting so many different errors. I tried changing the HEX's to strings…
-2
votes
2 answers

5 volts to breadboard not working

I am trying to verify I have power and verify positive and negative wires from cyberpower plug. I can't get this led to light up. I am going to attach two pictures one of the breadboard setup and one of the power module. The power module has a…
Mark
  • 453
  • 4
  • 15
-2
votes
2 answers

How to calculate RGB+A+W (Amber + White) from RGB for LEDs

I need to write a function that takes RGB (0-255) input and outputs 5 values to drive a RGBAW LED (integrated chip that has red, blue, green, amber and white individual LEDs in one module). The output from my function has to be 5x 0-255 values. My…
Haukman
  • 3,527
  • 1
  • 17
  • 29
-2
votes
1 answer

Arduino does not execute command from serial and slow to execute commands

I have not been on stack for a while so I do apolagize for that, the community has always helped me and really want to thank all for that first of all. I am having a problem with an arduino project I am trying to make the arduino make rgb light go…
The Law
  • 83
  • 1
  • 14
-2
votes
1 answer

LED color responding to Light Sensor values

Hi there I wasn't sure if anyone could help me I am trying to get my RGB led light that I have put on my arduino to change color depending on the amount of light read from a Photoresistor module. I'm not really sure how to go about coding that part…
mm19
  • 77
  • 1
  • 10
-2
votes
1 answer

Python - attempting to make a morse code LED

i have attempted to write the code such that it will tell you to input your string. at which point you type a string for example lets say you type "purple" then press enter. the code will run and get the length, then instead of getting the first…
Ben Vagg
  • 3
  • 2
-2
votes
1 answer

program a led screen in JAVA (for example)

If I have an led screen how this: http://puu.sh/iweqM/097f48c278.jpg Can I program an application im Java? There are an RS232 cable. In a normal way, we have to use an application that is already done, but can I done my application for plug on the…
anubis
  • 1,379
  • 3
  • 14
  • 36
-2
votes
1 answer

C# led panel controlling over ethernet with native dll

Hy, I had bought a "Huidu HD-E40" led panel a few days ago and the company sent me a .dll file. (I mean, it wasnt written in .Net). My question was the following: How can I use the file contents in C#. I had registered the dll via regsvr32, then…
tiborjan
  • 31
  • 1
  • 4
1 2 3
48
49