iotempire / iotempower

IoTempower is a framework and environment for making the Internet of Things (IoT) accessible for everyone
MIT License
24 stars 18 forks source link

mfrc522 SPI pins hardcoded #109

Open ArazHeydarov opened 1 month ago

ArazHeydarov commented 1 month ago

In mfrc522(rfid) source code SPI pins are hardcoded as D8 and D0 (source code) That's why only wemos_d1_mini, nodemcu, wroom_02, esp32, esp32miniki boards support current implementation. Others raises an exception.

There's a possibility to accept pins as a parameter in setup.cpp; however, in some boards it's physically impossible to reach SPI pins. Which means, it may be futile implementation.

Any advice?