The primary objective of this study is to demonstrate ground-based experiment for the attitude control of spacecraft. A two-axis rotational simulator with a flexible ann is constructed with on-off air thrusters as actuators. The simulator is also equipped with payload pointing capability by simultaneous thruster and DC servo motor actuation. The azimuth angle is controlled by on-off thruster command while the payload elevation angle is controlled by a servo-motor. A thruster modulation technique PWM(Pulse Width Modulation) employing a time-optimal switching function plus integral error control is proposed. An optical camera is used for the purpose of pointing as well as on-board rate sensor calibration. Attitude control performance based upon the new closed-loop control law is demonstrated by ground experiment. The modified switching function turns out to be effective with improved pointing performance under external disturbance. The rate sensor calibration technique by Kalman Filter algorithm led to reduction of attitude error caused by the bias in the rate sensor output.