I am looking for a simple small cheap sensor that will recognize when it is flipped upside down. ie i want to put it in a cell phone so when I turn the phone over the screen knows to flip because of the sensor.
does anyone know what type of sensor that is called and where i could possibly find one?