Attitude Control of a Satellite by Using Digital Signal Processing