Do you mean it should be:
```
// A7
if (pin == 18) return 6;
```