Rhythmblock/neodj.lua

17 lines
290 B
Lua

local accentColor = colors.gray
local buttonColor = colors.lightGray
local backgroundColor = colors.black
function playDisk()
disk.playAudio()
end
if disk.isPresent() and disk.hasAudio() then
playDisk()
elseif disk.isPresent() then
print "Not a music disc"
else
print "No disc"
end