Led+COM+C

Czesc Mam taki kod w delphi

------------------------------------------------------- procedure TForm1.Button1Click(Sender:TObject); begin if SerialPortNG1.DTRState then SerialPortNG1.DTRState := false else SerialPortNG1.DTRState := True; end;

--------------------------------------------------------------

ktory zapala diode na 4 nozce DTR Czy moze mi ktos przetlumaczyc ten kod na C na dos lub napisac ikod w C dla windows/dos ktory zapala np diode na 4 nozce DTR oraz ktory odbiera sygnal na innej nozce

Reply to
slidera
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.