sstaub/sACN

Function for set universe

Closed this issue · 3 comments

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;
	**}**

I think it is possible to do the class definition in setup() after you read data from the EEPROM.

This will changed in the next release. e.g.

Receiver(UDP& udp);
begin(uint16_t universe, bool unicastMode = false);

Done with v1.1