No matter what i do i still get the same error code every time and none of the forums that i have checked are giving me any clues as to how to fix this.
while disk.isPresent(false) do
mon.print("pleas insert entery authorisation")
end
else
if disk.isPresent(true)
and
disk.hasData(true)
end
then do
mon.print("reading card")
sleep(5)
end
else
mon.print("No data on key card")
end
i have set the peripherals in a different lot of code and they do work. i checked.