lpt +krokowy +VB
: 12 gru 2004, 16:29
Zeobiłem sterowanie Silnika krokowego z LPT ale
przełączanie odbywa się za wolno timer się nie wyrabia
choć jest na minimum interval
poradzcie coś
Private Sub Timer1_Timer()
xx = xx + 1
If RED = 1 Then Out &H378, 5
If RED = 2 Then Out &H378, 9
If RED = 3 Then Out &H378, 10
If RED = 4 Then Out &H378, 6
If xx = 4 Then
xx = 0
End Sub
przełączanie odbywa się za wolno timer się nie wyrabia
choć jest na minimum interval
poradzcie coś
Private Sub Timer1_Timer()
xx = xx + 1
If RED = 1 Then Out &H378, 5
If RED = 2 Then Out &H378, 9
If RED = 3 Then Out &H378, 10
If RED = 4 Then Out &H378, 6
If xx = 4 Then
xx = 0
End Sub