How upload the sketch of pc to arduino through usb with module HC-06 conected?

I have problem with upload the sketch of pc to arduino through usb with module HC-06 conected.

Is there any option for do that?

Thanks

Hello,

You can use the SoftwareSerial library to free the Hardware Serial port that is needed for programming the arduino.

Or you can use an arduino with more than one hardware Serial port such as arduino mega

Or you could try wireless programming, but I'm not sure if that is possible with HC-06. It is with HC-05.