' ' Function declarations for LEGOLIB.BAS ' ' Include this near the top of your source file. ' Declare Sub Initlego Declare Sub Dolegoencoder(byval Port As Byte , State As Byte , Encoder As Integer) Declare Function Light(byval Port As Byte) As Byte Declare Function Switch(byval Port As Byte) As Byte