473,406 Members | 2,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

c program with hardware interaction

i got a project in which i have to make a c program with hardware interaction. so what can i make ? any suggestions please! and how can i ? i want some assistance .
Oct 26 '15 #1
2 1592
weaknessforcats
9,208 Expert Mod 8TB
Hardware interaction is pretty general. Today most hardware Interfacing usually is done by the OS and not your C program.

You don't say what hardware you have available.

The first thing I think of is communicating with a serial USB device but do you have any such devices AND do you have the code libraries (SDK) for the devices?
Oct 26 '15 #2
donbock
2,426 Expert 2GB
Two basic approaches:
  1. Your program interacts directly with the hardware. In this case, you need a Hardware/Software Interface Specification to inform you how the software interacts with that particular piece of hardware.
  2. Your program interacts with somebody else's software; and that other software interacts with the hardware. In this case you need a Software Interface Specification to inform you how to use that other software.
Are you perhaps in a hardware class where your job is to design a piece of hardware that can be used by a computer?

Take a look at Wikipedia article on Memory-mapped I/O.
Oct 26 '15 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: anant_tickoo | last post by:
how to interact with printer port in c++ on NT based system? i want to send the data to printer port and also want to read from it but Nt system in not allowing me to do that. help needed for...
2
by: Sheikko | last post by:
Hi, I am deveopping an application on the pocket pc and I need to program hardware buttons to toggle between 2 application. Exactly from the code of the first application I open a second...
8
by: sudhanshu | last post by:
Hi all, can anyone plz send me some tutorials on hardware interaction using C/C++. Can u please suggest me a good topic for doing my project im going to code in C++ . Please give me some ideas...
1
by: ashruba | last post by:
HOw to interact with the external devices such as mobile using c++?
1
by: fashe | last post by:
i want to change my keyboard to a piano using c. And I am new to internal hardware interaction. so pls suggest me books or websites about this...
3
by: programneed | last post by:
I want to operate a motor through a program in c++. i do not know any syntax which can help me develop a program for fulfilling my hardware interaction. please help me with syntax and some examples.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.