HCS12 Rick Roll

January 14, 2009


I've programmed my 68HCS12 development board to play Rick Astley's "Never Gonna Give You Up"!

The source code for the Rick Roll program is provided below. I've also provided the code for a simple, generic music player, with comments for the notes and timing. These programs use the Dragon12 function library that accompanies the highly recommended book Programming the DRAGON12-Plus Using CodeWarrior from LBE Books.


For some of my more serious projects using the HCS12 microcontroller, please check out:

  Bit-banging VGA on the HCS12

Bit-banging VGA on the HCS12

  Accelerometer Tetris with the HCS12

Accelerometer Tetris with the HCS12

  Nixie Clock using the HCS12

Nixie Clock using the HCS12