For an assignment at school we needed to design a cruise control system on a 80552 microprocessor. The pulswidth-modulator of the processor is connected to a motor.
For fun we wrote a little program that abuses the pulswidth-modulator to play the "Vader Jacob" tune on the motor.
The tune consists of the following note's :
C D E C, C D E C, E F G, E F G, G A G F E C, G A G F E C, C -G C, C -G C.
The frequency's of the notes can be found on this webpage :
First public release : 07-06-2002
Email me with questions/comments : Daan <Daan @ pa4dan . nl>