will codes created for the arduino uno works in arduino due??
AFAIK they will but keep in mind that:
- timing will definitely be different
- not all libraries are available on DUE
- if you use low level port numbers, ISR names etc they might differ.
Do you have specific code in mind? If you post it someone my give it a try on a DUE.