added references to future variables

This commit is contained in:
Lux Aliaga 2021-05-06 00:20:44 -04:00
parent a2eae16921
commit 89b5245e56

View file

@ -3,12 +3,18 @@ local buttonColor = colors.lightGray
local backgroundColor = colors.black
local drive = peripheral.getType("disk_drive")
function playDisk()
function playDisc()
disk.playAudio(drive)
end
function ejectDisc()
end
function stopDisc
end
if disk.isPresent(drive) and disk.hasAudio(drive) then
playDisk(drive)
playDisc(drive)
elseif disk.isPresent() then
print "Not a music disc"
else