hc-05 Module and Uploading sketches.

right now, i need to disconnect the hc-05 from the Rx and Tx pins for every upload. is there a way to avoid the need to do that?

Why not use the HC-05 to do the upload?

TheMemberFormerlyKnownAsAWOL:
Why not use the HC-05 to do the upload?

how so? im not familiar with how to do that.

vortix2950:
right now, i need to disconnect the hc-05 from the Rx and Tx pins for every upload.

You shouldn’t connect a BT module to those pins, because they are hard-wired the the USB<>Serial chip.
Use the BT module with SoftwareSerial on two different pins.
Leo…

Wawa:
You shouldn’t connect a BT module to those pins, because they are hard-wired the the USB<>Serial chip.
Use the BT module with SoftwareSerial on two different pins.
Leo…

does using these pins cause more issue other than the problem with the upload? is there other reason why its a bad idea? i have been using the module that way for a while and it seems fine.

Didn't say you can't, but expect upload and/or printing errors if you do.
SoftwareSerial on different pins solves that problem.
Examples in the IDE.
Leo..