Function for set universe
Closed this issue · 3 comments
tresler commented
Is it possible to add new function for set universe (before begin)? It will be useful if I read universe from EEPROM. Something like that:
void Receiver::setUniverse(uint16_t universe) {
this->universe = universe;
mcastIP[2] = universe >> 8;
mcastIP[3] = universe;
**}**
sstaub commented
I think it is possible to do the class definition in setup() after you read data from the EEPROM.
sstaub commented
This will changed in the next release. e.g.
Receiver(UDP& udp);
begin(uint16_t universe, bool unicastMode = false);
sstaub commented
Done with v1.1