PaulStoffregen / DmxSimple

99 stars 21 forks source link

Add a way to access dmxBuffer #13

Open Tuhis opened 6 years ago

Tuhis commented 6 years ago

Add a way to access internally used dmxBuffer in order to optimize the performance of some Arduino programs. For example, now user may implement serial to dmx more efficiently by directly storing the read bytes into dmxBuffer.

I have added two new methods, one for starting the dmx transmission manually and another for getting pointer to dmxBuffer.

What do you think? Could you consider these as part of the library, or is added complexity against the spirit of the DmxSimple? :/