Accelorometer input to LED output