Basic, cdc, hid and Vega Multi(Basic,Advance)

Hello

There is example1(from 10) from basic code, in whille i will send here code for CDC and HID USB comunication. (For fun) . You can see what can you do with 1 led , 1 button and USB comunication. For USB communication related source you have to have USB add on and Bascom licence.

'---------------------------------------- 
'Vega Mini - Develop board 
'Test tipke HWB(PE.2) in led diode (PE.3) 
'---------------------------------------- 
$regfile = "usb1287.dat" 
$crystal = 16000000 
Porte = &B00000000 
Ddre = &B00001000 
Do 
If Pine.2 = 0 Then 
Reset Porte.3 
Waitms 50 
Set Porte.3 
Waitms 50 
Else 
Reset Porte.3 
Waitms 100 
Set Porte.3 
Waitms 100 
End If 
Loop