Questions tagged [hardware-interface]
200 questions
3
votes
3 answers
Drive Letter to Device Instance ID
How do I get from a drive letter to a device instance ID?
My process starts with a device arrival message. I have been successful in getting the drive letter from the arrival message and in opening the dvd tray.
I have searched the various Setup API…

SteveS48
- 79
- 3
- 6
3
votes
1 answer
Which Bluetooth library is stack independent
I making a windows application that needs to use Bluetooth for communication so far as now I have tried blue cove for Java.
It seems to be limited to few stacks only.. I have a Toshiba stack, but I still want a library that could handle most popular…

Allahjane
- 1,920
- 3
- 24
- 42
3
votes
3 answers
How to connect to webcam in Java?
I have a form in which i want to capture the image of the person and display that image in the form.
How can i connect to the webcam through java and display that image in the form?

Neha Raje
- 151
- 3
- 7
- 16
2
votes
4 answers
At what stage is software converted to actual hardware signals?
What happens to a program post the machine code state? An assembler/compiler will convert high level code or assembly code to machine instructions. At this stage, the machine instructions is still in the software form and reside in memory. How is…

Amal Antony
- 6,477
- 14
- 53
- 76
2
votes
4 answers
Working with external hardware components in java?
I am talking about components that can be externally attached to a computer system via some port or other means, not about any of the component that is part of or peripheral of computer itself.
Actually, working on a college project for controlling…

Asif
- 4,980
- 8
- 38
- 53
2
votes
0 answers
How to configure a PIC24 I/O Expansion board
I was wondering how to configure a PIC I/O Expansion board to work with a PIC microcontroller I am using?
I am using a PIC24EP512GU810 on a PIC24E USB Starter Kit [DM240012]. Because it doesn't have many I/O ports built onto it, I bought a Starter…

user1207381
- 581
- 2
- 8
- 19
2
votes
0 answers
Detect "Windows" key of qwerty keyboard in Android
In my current code, I am attaching the qwerty keyboard and detecting the key events in android code.
Now, the issue is that, I cannot able to detect the "Windows" (some says "Search") key. Whenever I press "Windows" key at that time no log found in…

Nikhil
- 1,212
- 13
- 30
2
votes
1 answer
SD Card SPI Voltage/Logic Levels
I am working on interfacing a micro-sd card with an 8-bit micro-controller. I do not yet have the hardware so I can not find the solution with an o-scope.
I have been reading the Physical Layer Simplified Specification Version 3.01 and I found…

swinchen
- 41
- 1
- 2
2
votes
2 answers
Access USB hardware (pressure sensor matrix with native C++ API) using Python
I am working with a pressure-sensing mattress having a USB interface. The maker provides USB device drivers for Windows, and an API written in C++ which has functions to request data and set some parameters.
Currently, I cannot use this sensor for…

heltonbiker
- 26,657
- 28
- 137
- 252
2
votes
6 answers
.NET Stopwatch Class limitations
This may not be an entirely not a .NET related question.
I am writing a .NET application to control some gadgets. I send commands to the gadget periodically (say every 500 milliseconds). As soon as I send the command I start a timer. (.NET stopwatch…

Soundar Rajan
- 517
- 2
- 7
- 17
2
votes
1 answer
LPT I/O address mapping in PC
I heard about USB to LPT adapters that are capable of mapping PC legacy parallel port address. What is the level of such mapping? I mean - is it possible to access the adpater's pins by using 'in' or 'out' x86 assembler instructions (in Windows or…

marcin
- 21
- 2
2
votes
2 answers
WriteFile failing depending on length of data to write?
EDIT
Oddly enough, I've worked around this issue, but it's still annoying me. I worked around it by sending too-long writes, with padded zeroes; the code works but sends a few hundred unnecessary bytes. Specifically, I need to send exactly…

Sukasa
- 1,700
- 4
- 22
- 40
2
votes
1 answer
How does a modern operating system like Windows or Linux know the chipset specific memory map?
The memory map of the peripherals are defined by the chipset. However, modern operating systems like linux and Windows can boot from pretty much every chip (if compiled for the right architecture). As far as I know, the memory mapped devices like…

elFreak
- 133
- 7
2
votes
1 answer
DM script/command for centerZLP under EFTEM mode
Is there any command that can do the thing similar as the centerZLP function in EFTEM mode??
Or perhaps, setting energy loss as zero also workable?
Thanks

CHH Tang
- 23
- 2
2
votes
1 answer
Linux daemon to change user input stream?
I'd like to write a program to remap user input for stuff like changing keyboard layouts, but also more complex things like making a shorthand program (i.e. "t qk fx jmps ovr t lzy dg" outputs as "the quick fox jumps over the lazy dog"). I'd prefer…

Zachary Vance
- 752
- 4
- 18