anyway, i have figure out the main cause of problem it was wrong parameter mention on usb module as i said when i short both terminal it work after that i have removed the rx wire from uC and changed tx to tx pin of usb module then it work fine there is no error..............
I am working more on UART passing string and not suck with if cond to do a task......
the problem is that when any key is press it work not follow the cond , why??
Code:
if(ch=='a');
{
f = 'a' ;
HSerout(f);
__delay_ms(250);
I am working more on UART passing string and not suck with if cond to do a task......
the problem is that when any key is press it work not follow the cond , why??
Code:
if(ch=='a');
{
f = 'a' ;
HSerout(f);
__delay_ms(250);
OK, I am trying to make condition based transmission from let say if 'A' is pressed in keyboard it wil show "jhdghgk" and if 'B' is pressed it should show "kjyhjkdqwefjgtjk" like this....
but the problem is that when i do this on pressing any of key it work but it should match the key to condition then it should show the result this is what i am asking...