phoenix_1
- 16th May 2008, 15:49
I use 16f877 and 4x4 matrix keyboard with rutine by mister_e.
Also I use Hardware usart in PicMicro for rx-tx data to PC .
Program work on next way:
User use 4x4 keyboard and if he press key PicMicro send at that moment No:. of key from 1 to 16,taht work extra,when PC receive key No:. it return some word with index like these "128DOG" Becouse 4x20 LCD what I use have locations for chr from 128 -231 it simple to PicMicro know where must display word "DOG" .
Question hove to I thel Pic in same time when user type on keyboard to data is received from PC when I know to PicMicro can't work multitasking !
All thing must work like PC terminal and PC never send more then 8 chr to PicMicro.
Like "128ABCDE" include position in front word like you see.
Any suggest are welcome .
Regards Robert
Also I use Hardware usart in PicMicro for rx-tx data to PC .
Program work on next way:
User use 4x4 keyboard and if he press key PicMicro send at that moment No:. of key from 1 to 16,taht work extra,when PC receive key No:. it return some word with index like these "128DOG" Becouse 4x20 LCD what I use have locations for chr from 128 -231 it simple to PicMicro know where must display word "DOG" .
Question hove to I thel Pic in same time when user type on keyboard to data is received from PC when I know to PicMicro can't work multitasking !
All thing must work like PC terminal and PC never send more then 8 chr to PicMicro.
Like "128ABCDE" include position in front word like you see.
Any suggest are welcome .
Regards Robert