The link below is a NFC driver for Arduino.
Is it possible to port this Arduino driver code to a PC platform and replace the UART function calls to that of a PC. Can that be done with minimal change? What are the things to consider?
The link below is a NFC driver for Arduino.
Is it possible to port this Arduino driver code to a PC platform and replace the UART function calls to that of a PC. Can that be done with minimal change? What are the things to consider?
How would you attach the shield to the PC?
That is not a driver. To use its own words, it is a "NFC library for Arduino"
It is written to work with an Arduino with specific additional hardware that cannot be connected directly to a PC.
You can, of course, connect the Arduino to a PC and use the Arduino to send data from the NFC device to the PC.
...R
PaulS:
How would you attach the shield to the PC?
The shield has UART interface. I can use a FTDI USB-to-UART converter so that PC can talk to the shield through UART.
Robin2:
That is not a driver. To use its own words, it is a "NFC library for Arduino"It is written to work with an Arduino with specific additional hardware that cannot be connected directly to a PC.
You can, of course, connect the Arduino to a PC and use the Arduino to send data from the NFC device to the PC.
...R
What is specific to Arduino is the communication interface(I2C, SPI, UART) that the NFC library uses. The library itself looks independent of the underlying hardware. This is why I was wondering if one can use it on the PC but modify the communication interface portion. Did I miss out anything?
lightaiyee:
Did I miss out anything?
Your original post did not have the clarifications in Replies 3 and 4
Now that I understand what you want to do I can say it is well beyond my pay grade.
...R