I need the arduino library MFRC522 to be added to the web compiler or IDE provided for GR to work with my RFID reader/Writers.This llibrary is available for arduino and is arduino compatible.Can i use the same for GR if so reply with steps to add the library to GR IDE/Web compiler
the library MFRC522 is available here https://github.com/miguelbalboa/rfid
In Web compiler, upload a zip downloaded from github. And then you can see the folder "rfid-master" in your project root.
When you use a sample in sample folder, please note below things.
1) Remain #include <Arduino.h>, that is necessary to use Arduino library on Web compiler
2) Prototype declaration: as you may know, Arduino doesn't need a prototype declation. But Web compiler need prototype declation with standard c++.
Below is NG. Compiler generates error.
Below is OK.
void function(); //prototype declaration
In IDE, use attached zip for import library.
Some sample seems to include EEPROM library that cannot be used for GR-PEACH. Please note that.
In reply to Okamiya Yuuki:
Thank you for the information.now when iam using IDE to program GR PEACH how can i select the serial port (COM).when i connect GR with my PC using USB cables it connects only as a drive(I: in my case) .How to select the serial port in IDE.
im using IDE FOR GR version E0.8.0
In reply to rockey:
At first, it is necessary to install usb driver as below web.
After that, you can see your COM port on IDE as following Tools menu.
i have installed the usb driver and got the mbed COM port but when i upload the sketch the IDE says "MBED not found"!.I've tried pushing reset pin and the problem occurs again.The web compiler works fine but i need IDE as i have to work with serial monitor.
Same problem here..
@Okamiya Yuuki -san, please provide us the solution ASAP
In reply to Buzz:
The error "MBED is not found" is very simple thing that PC does not recognize USB storage as mbed drive as below.
It is not necessary to install any driver for that.
Did you connect GR-PEACH to your PC as below? There is no other thing to do.
I have connected GR-PEACH to my PC as you have mentioned above but iam still getting the same error. My PC does recognizes USB storage as mbed drive,iam also getting mbed serial port but the problem exists.The picture explains the case clearly
Please reply me as soon as possible