--[[
Created by austinv11
]]
p = peripheral.find("compass") --Wrapping the peripheral
print("The turtle is currently facing: "..p.getFacing()) --Printing the direction
