However, if I use the emelianov's ModBUS library v4.1.1 or the Seeed-Studio PN532 library through the serial ports, both don't work. When I connect the TTL-ModBUS RTU converter, I get no response. When I connect the PN532 NFC module, it detects it, reads the firmware version, but doesn't go past line 182 of the PN532.cpp file:
Code: Select all
if (HAL(writeCommand)(pn532_packetbuffer, 3)) {
return 0x0; // command failed
}