You cannot upload the the Leonardo this way! The Leo uses a virtual com device, not connected to pins 0 & 1.
Hello arduino community! i have recently bought a silicon labs cp210x usb to uart bridge so i can communicate via serial with my Leonardo, but it does not seem to work. I have tx -> rx, rx -> tx, 5v -> 5v, and ground -> ground.The cp210 only gives my arduino power, i can not receive or transmit any information in the serial monitor. Nor can i upload any sketches. I tried with all of my boards, same thing.here is what the device manager and the arduino ide say.any information would be great.
The CP2102 is a 3.3V chip. Are you using a module of some kind that passes te 5V USB power through? A diagram of your circuit would help.Also, are you sure the driver is installed on your computer?
Post your code that you say does not work please, I think you are using the wrong Serial. If you are using Serial, chage it to Serial1.
this was the issue thank you so much. when i write my cpp application would i have to do anything different?