led

USB drive LED flash

I was recently reading about the Arduino's Hello World application, and I thought to myself, "I wonder if I can do that with hardware that I have right now." Since I don't have an Arduino, I grabbed a usb flash drive that I had laying around and started googling around for information about it. I didn't find much helpful information in...

How to hook up LED lights in C++ without microcontroller?

I want to light up/off LEDs without a microcontroller. I'm looking to control the LEDs by writing a C++ program. but the problem im having is hooking them up is there a free way to do !!!! I'm using Windows XP if that is relevant. I have LEDs but I don't have a microcontroller. Well, I found some functions but their headers are not wo...

Steps to make a LED on or off from a C program using Serial Port?

Hi gusys, I knew there is a similar post: http://stackoverflow.com/questions/209603/steps-to-make-a-led-blink-from-a-c-c-program But now I am working on a arm-based development board, and it seems to have two serial ports that I could use it to make a LED on or off. Basically I think the flow is , make one pin in serial "1" or on and ...

LED master file

In LED (LatexEditor), how to mark a file (main_file.tex), containg includes of other files, as "main" ? If I right-click, I don't find this option in the menu. And if I make a copy named main_file.tex.latexmain, it doesn't work. ...

How to blink the Keyboard's LED using C# or VB.Net

Need to make the Keyboard's LED (Caps lock / Num lock or Scroll lock LED) blink either using C# or VB.net. (With or without using interop is fine) ...

C# way to convert char into 8x8 binary

Hi guys, Can you help me look for a way to convert char into 8x8 binary (am not sure how to call it) like for example an "A" 00011000 00100100 00100100 01000010 01111110 10000001 10000001 10000001 am actually doing this manually :( suggestions are still open :D EDIT: Anyway, if you guys are wondering what am trying to do. Am try...

Searching for a drive bay LED/LCD with buttons hardware and API

My colleagues and I have got an interesting little prototype hardware/software project that would follow these loose requirements/specs/implementation details: Hardware: Take simple user input from a couple of buttons, maybe a dial Give some textual output to the user, a 3-line LED would suffice but fancier is OK Powerful x86 CPU requ...

LED-color HTC Legend

I'm trying to make the LED of the HTC Legend color blue along with my notification. notif.ledARGB = color.BLUE; notif.ledOnMS = 100; notif.ledOffMS = 100; notif.flags |= Notification.FLAG_SHOW_LIGHTS; The led just keeps flashing green (and not in the requested pattern). Is there something wrong with the code or doesn'...

Is it possible to detect when the system is recording a sound and then perform some action on Python?

I began learning Python a few days ago, and i was wondering about a practical use for a program. Then i came up with the following: if my brother is in his room recording himself playing guitar, a led plugged to the usb and wired so it's outside his door lights up, and then i'll know he's recording and i'll take care not to make any nois...

Arduino (processing) Library in Netbeans and control

Hello everyone I am trying to control 4 LEDs and getting analog input from 4 contacts. The program is written in java, so to gain acces to the functions of arduino, such as AnalogRead() and setting an LED to high or low, would importing the processing library let the program use those functions? I was also wondering, if the program, wi...

UIImagePickerController camera freezes when flash goes off on iPhone 4

Using the camera to capture an image ... everything works fine UNLESS the flash goes off (which is does automatically in low light situations). Is anyone else seeing this? What, if any, solutions are there to this problem? Thanks ...

How can you turn on the led light on the iphone 4?

I just want to be able to turn on the led light. Is there a simple way to do this, or am I going to need to, say, set up the phone to take a video, simulate it videoing with the light on, but not save the video? Something like that? Thanks. ...

Includegraphics problems with a PNG

Hi, I have problems to insert a figure into my .tex file. This is the code: \begin{figure} \includegraphics[width=1\textwidth]{Blockdiagram} \caption{Diagram} \label{figure:BlockDiagram} \end{figure} It says that it cannot find the file! The same with Blockdiagram.png. The figure is in the same folder. The main .tex is outside ...

Checking if a new SMS has been read

I am working on a simple app for the HTC EVO that blinks the alternate notification LED when a new text message is received. I have this part working great via a Broadcast Receiver but I need some way to turn the LED off when the user has read the message(s) using their default SMS app. I'm not sure if it is best to do this in the receiv...

Control LED Monitor programmatically

I am developing a research that basically control LED monitor's backlit to minimize its power consumption. Currently I'm unable to find a LED monitor with provided API to access and control the backlit (some PWD related I think.) Anyone did this before please give me some helps. Thanks a lot. ...

Camera.Parameters.FLASH_MODE_TORCH replacement for Android 2.1

Hello, I am trying to write an app that requires the LED flash to go into torch mode. The problem is, Android 2.1 does not support this mode and therefore I cannot support the platform yet. Wouldn't be an issue, but I am writing it for my fiance and her Epic 4G only has 2.1 right now. I found some code samples that use some undocumen...

I'm trying to turn on the iPhone 4 torch but it just won't turn on

So I followed the WWDC session 409 about using the camera/flash/torch/etc as a device on the iPhone 4 and I was able to write the chuck of code below. It's compiles without any errors but when I try the execute it on my iPhone 4 nothing happens. Can someone help me figure out what i've done wrong. I'm also trying to get the torch to turn...