Add Smart dashboard preferences sample. Add PID control sample code.