inverted signal on gpio