From the Home screen, tap the Apps Key > Settings > PC connection > USB connection type.
Tap Media sync (MTP) or Camera (PTP) to connect to the PC.
Tap Charge only to use only the charging function and not the USB function.