Originally Posted by aVague
so: you 're inputing quantity of coins in computer , then what?
I don't get , what is the purpuse of counting. Suggestion you have REAL coins 10, 20 for example
for 10 is 0v, for 20 is +5v , you put coins in the hopper , hopper gives signas 0v, +5v to computer, and computer counts how many signals there are , so you're having resut how many 10 coins and how many 20 coins
if so then what you need to output from PC? indeed you need to read signals from hopper
in the case you want to create signals from PC to hopper (i don't understand why), then i guess you need to know other language than C , cuz C is "high-objective" language , and you need "low-objective" language. ( Assembler for example. or Pascal i don't know for sure)
maybe in C there is such possibility, try to find this command in MSDN http://social.msdn.microsoft.com/Sea...ge%20signal&ac
I don't think you quite get it.
Hopper connects to PC.
A number of coins are loaded into the hopper, 10p's for example.
Program is running on pc.
You input how many coins you want counting out and the output in the program sends the signal that ammount of times to the hopper.
The hopper doesn't send anything back. It just counts out how many times the signal is pulsed and churns out that many coins.
Am i making more sense now?