Question for the K8055 USB Board

I have a question for the code of the K8055. This declaration: Dim n As Integer controls the outputs?

The variable ‘n’ is used in this timer subroutine for the “Output Test”:

Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick ClearDigitalChannel(n) cbo(n).Checked = False n = n + 1 If n = 9 Then n = 1 SetDigitalChannel(n) cbo(n).Checked = True End Sub

Thanks. It will be usefull.