Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

LED -> Paralelni Port LPT

[es] :: C/C++ programiranje :: LED -> Paralelni Port LPT

[ Pregleda: 3191 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

DeepInBrain
Aleksandar Demkovic
Software developer, DMS Group
Novi Sad

Član broj: 7360
Poruke: 45
*.36.eunet.yu



Profil

icon LED -> Paralelni Port LPT10.09.2004. u 00:31 - pre 238 meseci
Sa_Neta...

Pin Description:
1 Earth Ground 14 Secondary TXD
2 TXD - Transmitted Data 15 Transmit Clock
3 RXD - Received Data 16 Secondary RXD
4 RTS - Request To Send 17 Receiver Clock
5 CTS - Clear To Send 18 Unassigned
6 DSR - Data Set Ready 19 Secondary RTS
7 GND - Logic Ground 20 DTR - Data Terminal Ready
8 DCD - Data Carrier Detect 21 Signal Quality Detect
9 Reserved 22 Ring Detect
10 Reserved 23 Data Rate Select
11 Unassigned 24 Transmit Clock
12 Secondary DCD 25 Unassigned
13 Secondary CTS

npr.
Hteo sam samo da upalim LED na LPT1, "gurnem" ih i da se pale
u zavisnosti od variable koju saljem na port. Radio sam to nekad,
ali na asembleru, ali sad za C (Windows). E sad, pitanje:
- U koje pinove da ih ubacim?
- Moze li neko da mi da jednostavan kod za otvaranje, slanje podataka,
zatvaranje ovog porta na C-u?
~ Demkovic ~
 
Odgovor na temu

filmil
Filip Miletić
Oce Technologies B.V., inženjer
hardvera
Arcen, NL

Član broj: 243
Poruke: 2114
*.adsl.zonnet.nl

Jabber: filmil@jabber.org
ICQ: 36601391


+3 Profil

icon Re: LED -> Paralelni Port LPT10.09.2004. u 00:36 - pre 238 meseci
Uz malo pretrage starih poruka naći ćeš što ti treba.

f
 
Odgovor na temu

salec

Član broj: 6527
Poruke: 1738
*.rcub.bg.ac.yu



+25 Profil

icon Re: LED -> Paralelni Port LPT10.09.2004. u 09:04 - pre 238 meseci
Citat:
DeepInBrain: Sa_Neta...

Pin Description:
1 Earth Ground 14 Secondary TXD
2 TXD - Transmitted Data 15 Transmit Clock
3 RXD - Received Data 16 Secondary RXD
4 RTS - Request To Send 17 Receiver Clock
5 CTS - Clear To Send 18 Unassigned
6 DSR - Data Set Ready 19 Secondary RTS
7 GND - Logic Ground 20 DTR - Data Terminal Ready
8 DCD - Data Carrier Detect 21 Signal Quality Detect
9 Reserved 22 Ring Detect
10 Reserved 23 Data Rate Select
11 Unassigned 24 Transmit Clock
12 Secondary DCD 25 Unassigned
13 Secondary CTS


Taj spisak signala ti nije od LPT nego od COM porta...

Idi na http://www.beyondlogic.org/ , tamo ces saznati sve sto ti treba
 
Odgovor na temu

[es] :: C/C++ programiranje :: LED -> Paralelni Port LPT

[ Pregleda: 3191 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.