Why the extra step of using pointers? Just make an array of Pot objects:
Pot muxPots[] = {
{M1, 0, 0, 32, 1},
{M1, 1, 0, 33, 1},
{M1, 2, 0, 34, 1},
//
//
{M2, 9, 0, 55, 1}
};
Why the extra step of using pointers? Just make an array of Pot objects:
Pot muxPots[] = {
{M1, 0, 0, 32, 1},
{M1, 1, 0, 33, 1},
{M1, 2, 0, 34, 1},
//
//
{M2, 9, 0, 55, 1}
};