Program to read code from controller

Does anyone know if there is a program to read the code that has been uploaded to an Uno or Nano?
Example: If I upload code to one of those boards and a couple of weeks later I need to know what is on it.

Craig

The code had been compiled to 1's and 0's. Good luck reading that.

More specifically, yes, it can be read with AVRDUDE, but as noted it is compiled machine code and will look something like this:

:020000021000EC
:10FC0000112484B714BE81FFE7D085E08093810082
:10FC100082E08093C00088E18093C10086E08093F9
:10FC2000C20081E08093C4008EE0C0D0279A86E0B5
:10FC300020E33CEF91E0309385002093840096BB55
:10FC4000B09BFECF1F9AA8958150A9F7EE24FF2400
:10FC5000BB24B394A1E1CA2EF3E0DF2E9BD0813404
:10FC600059F498D0082FA8D0023839F1013809F496
:10FC70007FC083E087D083C0823411F484E103C065
:10FC8000853419F485E0A0D07AC0853591F482D00E
:10FC9000082F10E07FD0E82EFF24FE2CEE24E02A6F
:10FCA000F12A8F2D881F8827881F8BBFEE0CFF1C21
:10FCB00065C0863521F484E087D080E0DBCF8436D0
:10FCC00009F041C067D066D0082F64D080E0E81604
:10FCD00080EEF80618F4F701D7BEE895C0E0D1E051
:10FCE00059D089930C17E1F7F0E0EF16F0EEFF061C
:10FCF00018F0F701D7BEE8955FD007B600FCFDCF3E
:10FD0000A701A0E0B1E02C9130E011968C91119701
:10FD100090E0982F8827822B932B1296FA010C01E2
:10FD2000B7BEE89511244E5F5F4FF2E0A030BF07E9
:10FD300051F785E0F70187BFE89507B600FCFDCFD6
:10FD4000C7BEE8951CC0843761F424D023D0082FA7
:10FD500021D032D0F70187917F0114D00150D1F723
:10FD60000EC0853739F428D08EE10CD087E90AD04F
:10FD700085E080CF813511F488E018D01DD080E176
:10FD800001D06CCF982F8091C00085FFFCCF90935D
:10FD9000C60008958091C00087FFFCCF8091C0000D
:10FDA00084FD01C0A8958091C6000895E0E6F0E0CA
:10FDB00098E1908380830895EDDF803219F088E028
:10FDC000F5DFFFCF84E1DECF1F93182FE3DF115063
:10FDD000E9F7F2DF1F910895282E80E0E7DFEE2794
:04FDE000FF2709945C
:02FFFE000005FC
:040000031000FC00ED
:00000001FF

Craig336:
Does anyone know if there is a program to read the code that has been uploaded to an Uno or Nano?
Example: If I upload code to one of those boards and a couple of weeks later I need to know what is on it.

If you uploaded it, why don’t you still have it?