In this video lesson I will show you how to build a portable Raspberry Pi system which can monitor the keypad for input in the background using threading, while doing a main function in the foreground. We show how to use a nonblocking thread to constantly monitor the keypad for input without blocking the main program functions.