Setting pin mode, listening to analog values. Setting pin masks.