“I’m having trouble with my Pixhawk 6C not recognizing the battery. I learned that I should change the values of ‘BATT_CURR_PIN’ and ‘BATT_VOLT_PIN’ in the ‘all parameter tree,’ but I can’t remember how. Does anyone know?”
Where did you learn that. Default values should work.
As @dkemxr said, it should work off the defaults for your board. But if it got changed you can check the proper settings here:
https://ardupilot.org/copter/docs/common-holybro-pixhawk6C.html#battery-monitoring
For what it’s worth, the defaults have always worked for my 6C-minis, so I’m going to guess the 6C should be correct as well.