Printer Port Interfacing 1 V1.0
Submitted By:
myscripting
Rating:





(
Rate It)
VERSION 5.00
Begin VB.Form Form1
Caption = "led on or off"
ClientHeight = 1050
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 1050
ScaleWidth = 4680
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command2
Caption = "leds off"
Height = 495
Left = 2760
TabIndex = 1
Top = 240
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "leds on"
Height = 495
Left = 840
TabIndex = 0
Top = 240
Width = 1215
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Port1 = 888
Out Port1, 255
End Sub
Private Sub Command2_Click()
Port1 = 888
Out Port1, 0
End Sub