Re: How to talk to hardware devices in C



On Aug 6, 3:10 pm, x01001x <xem...@xxxxxxxxxxxx> wrote:
When programming in C (not C++) how does one send information to a
hardware device such as a video card or modem? How is this done in
Linux C programming versus Microsoft C programming?

You need to look into the hardware device data*** and program
accordingly as per your requirement.
The question is very generic.

Lot of ways of communication protocols are there.
I2C, SPI, CAN, UART, RS232, RS485, MODBUS, IR , Bluetooth, CDMA, WiMax
etc ...
Display communication standards like DDC , DDC2AB etc...

You may need to write small interfaces / device drivers to interact
with them.

Karthik Balaguru

.


Quantcast