Open MarkvanderPol opened 3 years ago
Hey, just want to say thanks for doing this! Sorry it's taking me a while to review but things have been busy, I'll try to get to it as soon as I can.
Any plan to merge this? I've got a project needing to use both SPI ports.
Mostly copied the primary port equivalents and changed their name.
Added the flag WORKER_ENABLED to permit running in newer NODE releases easier, but I have not verified if the code can actually do multi-threading. A quick glance indicates most register access are benign, but if two processes separately start to access a SPI port results may be surprising.