This is an old repository, the new repository with all Exercises can be found here: https://github.com/vermilion00/PSoC-Course/
It is possible that the code for this exercise is outdated, please see https://github.com/vermilion00/PSoC-Course/tree/master/Exercise1 for the up-to-date version.