I reckon life would be much easier if you use SoftwareSerial to create a separate serial connection for the HC05 and leave pins 0 and 1 free for communication with the PC.
And have a look at Serial Input Basics
...R
I reckon life would be much easier if you use SoftwareSerial to create a separate serial connection for the HC05 and leave pins 0 and 1 free for communication with the PC.
And have a look at Serial Input Basics
...R