From bc4c7aaefe8c1f2ff5bb2e4f4e6d59a3dd5bd469 Mon Sep 17 00:00:00 2001 From: mint Date: Wed, 5 May 2021 23:55:24 -0400 Subject: [PATCH] first steps --- neodj.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 neodj.lua diff --git a/neodj.lua b/neodj.lua new file mode 100644 index 0000000..4415699 --- /dev/null +++ b/neodj.lua @@ -0,0 +1,15 @@ +local accentColor = colors.gray +local buttonColor = colors.lightGray +local backgroundColor = colors.black + +function playDisk() + disk.playAudio() + + +if disk.isPresent() and disk.hasAudio() then + playDisk() +elseif disk.isPresent() then + print "Not a music disc" +else + print "No disc" +