Yeah, it's possible! You just need to make sure the modules use different communication protocols or assign different pins if they're both using something like SPI. The CC1101 typically uses SPI, and the PN532 can use I2C or SPI—so setting the PN532 to I2C might make things easier.
S
Best posts made by Slarck
-
RE: How to add multiple modules
-
RE: Looking up the example code for "Rover C Pro + M5StickC PLUS2" & "JoyC + M5StickC PLUS2".
Hey @roanevic, just jumping in here, I’ve tried that same setup recently. The example code Kuriko linked is a good starting point:
https://github.com/m5stack/M5-RoverC/tree/master/examples/RoverC_JoyC_RemoteIt’s designed for StickC, StickC Plus, and the StickC Plus2, so it should work with your hardware. Just make sure you have all the necessary libraries installed (like M5StickCPlus2, RoverC, and JoyC) in the Arduino IDE. Let me know if you hit any snags setting it up.