how to convert code to run on a oled

hey, i need help coverting this code code to work with a 0.96 oled display thanks

The code doesn't RUN on the OLED. The code DISPLAYS data on an OLED.

What issues have you had modifying the code?