People Counter Code for MBED LPC1768