Basic NOT gate and its application in fuel level indicator