fuuton
Advanced Member level 4
- Joined
- Jul 21, 2010
- Messages
- 104
- Helped
- 9
- Reputation
- 18
- Reaction score
- 2
- Trophy points
- 1,298
- Location
- Pakistan, Rawalpindi
- Activity points
- 1,881
Hi all,
I am using a code for sending data from PC to pic18f4550 through usb and I am encountering an error in the following statement:
The error is "end of statement expected" at "As Boolean"
Please help me out.
Thanks in advance
I am using a code for sending data from PC to pic18f4550 through usb and I am encountering an error in the following statement:
Code:
Public Sub hidWriteEx(ByVal pVendorID As Integer, ByVal pProductID As Integer, ByRef pData As Byte) [B]As Boolean[/B]
hidWriteEx(VendorID, ProductID, BufferOut(0))
The error is "end of statement expected" at "As Boolean"
Please help me out.
Thanks in advance