controlling heads based on electrostatically-actuated membranes