Visual CSharp .NET - timer en puerto paralelo

 
Vista:

timer en puerto paralelo

Publicado por jimmy pedroza leon (1 intervención) el 09/06/2006 18:13:11
Dim a As Integer

Private Sub Command1_Click()
Timer1.Interval = 100

End Sub

Private Sub Timer1_Timer()
a = a + 1
If a = 1 Then
Shape1.FillColor = &HFF
End If
If a = 2 Then
Shape2.FillColor = &HFF
Shape1.FillColor = &H0&
'Call portout(&H378, 0)
End If
If a = 3 Then
Shape3.FillColor = &HFF
Shape2.FillColor = &H0&
'callportout(&h378,1)
End If
If a = 4 Then
Shape4.FillColor = &HFF
Shape3.FillColor = &H0&
End If
If a = 5 Then
Shape5.FillColor = &HFF
Shape4.FillColor = &H0&
End If
If a = 6 Then
Shape6.FillColor = &HFF
Shape5.FillColor = &H0&
End If
If a = 7 Then
Shape7.FillColor = &HFF
Shape6.FillColor = &H0&
End If
If a = 8 Then
Shape8.FillColor = &HFF
Shape7.FillColor = &H0&
End If
Timer2.Interval = 100

End Sub

Private Sub Timer2_Timer()


End Sub
por favor ayudenme a devolver la secuencia con el mismo boton
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:timer en puerto paralelo

Publicado por JULIO (1 intervención) el 26/04/2007 04:00:14
Q ONDA UN FAVORSOTE ME PODRIAS ESPLICAR TU CODIGO Y CUAL ES SU FUNCION
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar