What are the easiest steps to make a small circuit with an LED flash from a C/C++ program?
I would prefer the least number of dependencies and packages needed.
- What port would I connect something into?
- Which compiler would I use?
- How do I send data to that port?
- Do I need to have a micro-processor? If not I don’t want to use one for this simple project.
EDIT: Interested in any OS specific solutions.
Here’s a tutorial on doing it with a parallel port.
Though I would recommend an Arduino which can be purchased very cheaply and would only involve the following code:
http://www.arduino.cc/en/Tutorial/BlinkingLED