RobTillaart / TLC5917

Arduino library for TLC5917 8-Channel Constant-Current LED Sink Drivers.
MIT License
3 stars 0 forks source link

Fix #6, special mode #7

Closed RobTillaart closed 5 months ago

Devilscave commented 5 months ago

I'm not quite sure how to update the mode. Can you give me some information?

RobTillaart commented 5 months ago

@Devilscave you need to call tlc.setCurrentAdjustMode() to get in to the special mode. Think I must rename that function ;)

Then you call tlc.writeConfiguration(uint8_t config) config 0..255

To go back to normal mode call tlc.setNormalMode();

Devilscave commented 5 months ago

Ich glaube, ich muss diese Funktion umbenennen ;)

Wouldn't tlc.setMode(0), or (1) be possible? Or simple tlc.SpezialMode() between tlc.NormalMode() Or what did you have in mind? You could also add a query to this: tlc.getMode()

RobTillaart commented 5 months ago

That is indeed the direction of my thoughts