- Raise error for invalid pin type for `rst` or `cs` if not `int` or `Pin` instance
- Set `self.rst` based on `rst` type
- Set `self.cs` based on `cs` type
In the MFRC522 class constructor, the reset and chip select pins are now initialized conditionally based on the types of their corresponding arguments. This allows the constructor to accept both Pin objects and integer pin numbers as arguments for these pins.