Jump to content




[attempt to call nil] immibis peripheral


  • You cannot reply to this topic
2 replies to this topic

#1 ETHANATOR360

  • Members
  • 423 posts
  • Locationyour hardrive

Posted 01 September 2012 - 10:19 PM

right now im working on a program to write code to an rfid from immibis periherals but im getting attempt to call nil on line 7
print ("enter name")
write ("name:")
local name = read()
local writer = peripheral.wrap ("top")
print ("insert your rfid for formatting")
while true do
local check = writer.getPresent()
if check == true then break
end
end
writer.encode (name, name"'s rfid")
link to peripheral: http://www.computerc...ss-peripherals/
thanks in advance!! :)/>

#2 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 01 September 2012 - 10:21 PM

I think it's getProgress() or isPresent(), not getPresent() :)/>

#3 ETHANATOR360

  • Members
  • 423 posts
  • Locationyour hardrive

Posted 01 September 2012 - 10:25 PM

thank you for answering my question and making me feel stupid :)/>





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users