- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hello.
I have some questions. Is there any possibility to send output signal (let's say I need voltage to switch something) on one of 9 pins in com1. I have a program for Winamp which is using com1 and it goes something like that: there are four buttons and 5 pins of 9 are used. One pin (4 i think) for output voltage and the other 4 are conected trough buttons on this one. So PLEASE help me. Is there any chance to just send some voltage to one of pins for some seconds. If you could tell me something about that, i've got some more questions.
Thank you very much
Urban
I have some questions. Is there any possibility to send output signal (let's say I need voltage to switch something) on one of 9 pins in com1. I have a program for Winamp which is using com1 and it goes something like that: there are four buttons and 5 pins of 9 are used. One pin (4 i think) for output voltage and the other 4 are conected trough buttons on this one. So PLEASE help me. Is there any chance to just send some voltage to one of pins for some seconds. If you could tell me something about that, i've got some more questions.
Thank you very much
Urban
- Balises:
- Intel® Fortran Compiler
Lien copié
2 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Look up the SPORT (serial port) documentation in VF on-line help. That set of routines may help you accomplish what you want to do.
Mike
Mike
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
You can use either the SPORT library routine SPORT_SPECIAL_FUNC or the underlying Win32 routine EscapeCommFunction to raise most commonly DTR or RTS, wait the appropriate amount of time, then drop the chosen signal using the same routine.
James
James

Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable