void Drive(int *motor, unsigned char speed) { // modify inputted speed *motor = speed; } Drive(&pwm01, 100);