As mentioned by the Author Eli Hughes on this document Freescale Cup Shield for the Freedom KL25Z, the demo code specifically for the speed sensor has been left out. You will need to create the code for this. The intention is for educational purposes, and students need to create their own.