Might it make more sense to shift to an object oriented model? The slave board can be a class in itself thus making it easy to add instances to add slave boards 1 and 2.
Would it make the library less understandable to novice coders who are not used to looking at classes?