Thermometer with MAX6675!

Hello guys,
since this is my first post here I kindly salute you all.
Please accept my appologies if I posted in wrong section but I've used the search function and it redirected
me on google but without results for what I want.
I mention I never worked with arduino before and I repair electronic devices.
I just need to help me with a code and a pinout connection for a thermometer.
A friend of mine has saw it to a guy and now he wants something identical.
All the modules are this:
arduino nano, ktype MAX6675 and OLED i²c lcd (Mini 0.91 Zoll OLED SSD1306 Display I2C IIC Arduino
Raspberry 128x32 weiss). By this title is on ebay.
I just need to show me the temperature in Celsius.
A friend of mine has made a code for me but somehow is not good because is not uploading in arduino.
Please, if someone has already made this kind of thermometer, can tell me which library should I install
and which pins are for connecting the sensor and the LCD?
I also atach here the ino file made by my friend and maybe someone can edit it were is wrong.
Thank you very much and again please to move this post in the correct thread if here is not OK.
Kind Regards!

ssd1306_128x32_i2c_with_max6675.ino (943 Bytes)

What problems are you having with that code? If you want other people to compile the code, you need to post links to the libraries you are using.

PaulS:
What problems are you having with that code? If you want other people to compile the code, you need to post links to the libraries you are using.

Thanks for reply but I've installed some libraries "online" with him by phone and also the code was given to me
"live" if I can say so.
I cannot provide you more info's because I simply don't know. I've made and temperature controller based on
arduino for RT Weller tips but there were all the info's. And it was an Arduino Uno.
When he helped me with the code, I didn't had the arduino nano with me.
But what I forgot to mention is this:
-it is installed on com35 and detected as "usb-serial ch340"
-when I do get board info I receive this:
"BN: Unknown board
VID: 1A86
PID: 7523
SN: Upload any sketch to obtain it".

As I remember, the installed libraries are for my modules that I want use them.
If I know something about libraries, I was posted.

This is what I receive when I push the upload button:

"Arduino: 1.8.8 (Windows 7), Board: "Arduino Nano, ATmega328P"

Sketch uses 14678 bytes (47%) of program storage space. Maximum is 30720 bytes.
Global variables use 391 bytes (19%) of dynamic memory, leaving 1657 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences."

That looks like it is not plugged in or you selected the wrong Port on the Tools menu.

Might it be a problem with the driver?
I've double checked and everything is installed ok.