acces control on due

hello

I am new here and I have buy a ardiuno due and connect the reader Dwell D201A-26 (weigand)
Is there someone with a basic program to get it working.
what is the difference between the program of uno and due

I connect D1(white) to pin3 and D0 (green)to pin 2 , black to GND , RED to DC

Regards henk