debug code for coin sensor