//////////////////////////////////////////////////// CONFIGURATION REGISTERS + direction pin
| 111 | // CONFIGURATION REGISTERS + direction pin |
| 112 | // |
| 113 | void AS5600::setDirection(uint8_t direction) |
| 114 | { |
| 115 | _direction = direction; |
| 116 | if (_directionPin != 255) |
| 117 | { |
| 118 | digitalWrite(_directionPin, _direction); |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | |
| 123 | uint8_t AS5600::getDirection() |