The basic circuit I want to interface to looks like this--
http://i221.photobucket.com/albums/d...g?t=1190091880
OS:Windows XP
C Compiler- Borland TC++v5.5
MATLAB v7.0, MATLAB Compiler v4.0
As I am quite a novice in programming, I haven't been able to figure out how to program this circuit in C. As you can see, my interface is via serial port of a PC.
What I want to do is that there should be 3 cases total, first 2 cases where each of these LEDs would flash individually, the third case being where both alternately flash in turns. LED requires a DC supply of approximately 1.5 volts across which a serial pin can provide. The ideal baud rate would be something that is equivalent to constant voltage....string of bits denoting HIGH level. So there would be no reading, just writing to individual pins, sending a string of 1s to empower the LEDs. No polling, no sending out messages etc
I intend to interface a different program (MATLAB) to the executable. Please note I cant use any programmer IC on board to keep it simple. Is this plausible?
I do hope this makes sense.
Thanks in advance.