5ocworkshop / grblhal-rgb-plugin

4 stars 3 forks source link

Request small update to support latest 8 port Teensy 4.1 (iMXRT1062) Driver #1

Open MisterDiz opened 2 years ago

MisterDiz commented 2 years ago

Hi

Thanks for developing the RGB status plugin, its a great addition. Shiny status lights FTW!

I'm trying to use your plugin in conjunction with 4 other aux outs which control relays for an ATC. Terjeio has kindly extended the IO ports to 8 on the Teensy 4.1 driver to accommodate both functions.

My issue is that I need to control the first 4 aux outputs to the ATC relays in order to use M62-M66 control commands and the RGB plugin by default uses the first 3 ports. Terjeio suggested that I request that you make a small tweak to the RGB plugin to a similar implentation as the Fans plugin, so that it is possible to add settings for the end user to select port > pin bindings.

This is discussed here

I would be really grateful if you could implement this.

Many thanks!

andrewmarles commented 2 years ago

I think that @5ocworkshop is looking into this - patience is a virtue.

andrewmarles commented 2 years ago

Along with this, the report in $pins is currently not correct:

[PIN:PB13,Aux out 0,P0]
[PIN:PB0,Aux out 1,LED Red]
[PIN:PA4,Aux out 2,LED Green]
[PIN:PA6,Aux out 3,LED Blue]

In reality the lights are very definitely on Aux0-3 on PB13 through PA4