[b:5f505ec6d8]Hi there,
I use USB addon in cdc class. well actually, I do modify the virtcom162
lik this:[/b:5f505ec6d8]
---------------------------------------------------------------------------------
[code:1:5f505ec6d8]Dim Datasend As Byte
Print "task init"
Usb_task_init
Cdc_task_init
Do
Usb_task
Cdc_task
If Inkey() = "*" Then
Goto &H1800 'try to boot
End If
[color=blue] Datasend = Uart_usb_getchar()
Uart_usb_putchar Datasend[/color]
'you can call your sub program here
Loop[/code:1:5f505ec6d8]
-------------------------------------------------------------
[b:5f505ec6d8]- but then device manager stops to recognize my device while it was recognized before adding blued lines[/b:5f505ec6d8] :?:
[b:5f505ec6d8][color=red:5f505ec6d8](BASCOM-AVR version : 2.0.7.6 )[/b:5f505ec6d8][/color:5f505ec6d8]
↧