Sound Localization

Key is the arcsin function definition [-1; +1]. Print out "summa" via serial and see what you get. Than you adjust coeff. so total parameter passing to arcsin would be -1 < p < 1.
Sound wave coming "flat" to both mics, should produce summa=0, shifting left-right 'd change sign and magnitude.