Adding Arduino r4 wifi to Firmata board.h file

You are welcome. I'm glad it is working now.

I chose this solution because it was the most simple for you to apply to the library. However, it is not an ideal solution because it duplicates code from the core. So I'm not sure it would be the best way for the library developers to implement a fix in their library.

I think that a better solution would be to change the name of the ConfigurableFirmata library's IS_PIN_PWM macro to something more unique (e.g., CONFIGURABLE_FIRMATA_IS_PIN_PWM) so that it won't collide with the macro of the same name in the UNO R4 WiFi board's core. However, this solution does require updating all references to the macro throughout the library so it is more complex to apply to the library.

My suggestion is for you to submit a bug report to the issue tracker of the ConfigurableFirmata library repository:

That will bring the bug to the attention of the library developers. You can add a link to this forum topic in the bug report so that the interested parties can see the discussion we had here. I already checked for an existing report in their issue tracker and didn't find one.

1 Like