how to combine two codes?

how to combine two codes into one file?

samplesendandreceive.ino (2.9 KB)

_48x8_scrolling_text.ino (4.33 KB)

http://www.thebox.myzen.co.uk/Tutorial/Merging_Code.html

https://arduino-info.wikispaces.com/CombiningArduinoSketches

It would be better if you post your code so that people won't have to download it. See the "how to use the forum" stickies to see how to format and post code.

Step 1: Define the requirements for the resulting program. Until you do that, you can't combine them.