PCduino - NFC- RFID

i need some assistance to try and get a NFC/RFID reader working on UBUNTU ona pcduino

since i am using HSU ( high speed UART) and the SDA and SCL pins i have found that on PCDUINO v2 that their are dedicated pins for this at the very end of the arduino so called pin header

sudo i2cdetect -y 2 i have found that the device show up on 0x24 so from their I now am trying to work out a way of reading the data

so i have found this

http://i.got.nothing.to/blog/2012/06/02/run-the-sl030-rfid-reader-on-linux/

using the C code from here i have copied it on to the using the g++ command i tried to compile it with no luck.

it comes up with and error with compile and i get the follow error messages

root@ubuntu:/home/ubuntu/Documents# g++ RFID.CPP -o RFID RFID.CPP: In function \u2018int main()\u2019: RFID.CPP:57:22: warning: format not a string literal and no format arguments [-Wformat-security] RFID.CPP:79:22: warning: format not a string literal and no format arguments [-Wformat-security]

so at the moment i am stuck on this

http://elinux.org/Interfacing_with_I2C_Devices#Completed_Code

reading through this i may be able to use the follow command to debug no idea how to thou. $i2cdetect -r 2

any help will be great :slight_smile: