From 89b5245e5675e9e5a729640b18834f96bcf6bdca Mon Sep 17 00:00:00 2001 From: mint Date: Thu, 6 May 2021 00:20:44 -0400 Subject: [PATCH] added references to future variables --- neodj.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/neodj.lua b/neodj.lua index e11c038..3ba0564 100644 --- a/neodj.lua +++ b/neodj.lua @@ -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