xyzabcpqr
Junior Member level 3
Hello all,
I am currently trying to interface PIC18F13K50 to PC using USB.I am using microchip's USB driver for host for hid application.
I want to generate different flashing led patters and buzzer sound tones
My firmware code and PC side software are working n I can make the above stuffs ON and off. But I could not generate flashing patterns as any of the looping instructions are not working . (e.g For, While, If) Its always gets out of the loop and i have to open USB again.
Please help me to figure out how to troubleshoot this problem.
With this I am attaching the firmware code(in Mplab in C) and PC side (in VB C# ) code for the reference.
I am currently trying to interface PIC18F13K50 to PC using USB.I am using microchip's USB driver for host for hid application.
I want to generate different flashing led patters and buzzer sound tones
My firmware code and PC side software are working n I can make the above stuffs ON and off. But I could not generate flashing patterns as any of the looping instructions are not working . (e.g For, While, If) Its always gets out of the loop and i have to open USB again.
Please help me to figure out how to troubleshoot this problem.
With this I am attaching the firmware code(in Mplab in C) and PC side (in VB C# ) code for the reference.