first steps

This commit is contained in:
Lux Aliaga 2021-05-05 23:55:24 -04:00
parent 13c8cc4e97
commit bc4c7aaefe
1 changed files with 15 additions and 0 deletions

15
neodj.lua Normal file
View File

@ -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"