This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
ETHANATOR360's profile picture

[attempt to call nil] immibis peripheral

Started by ETHANATOR360, 01 September 2012 - 09:19 PM
ETHANATOR360 #1
Posted 01 September 2012 - 11: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!! :)/>/>
MysticT #2
Posted 01 September 2012 - 11:21 PM
I think it's getProgress() or isPresent(), not getPresent() :)/>/>
ETHANATOR360 #3
Posted 01 September 2012 - 11:25 PM
thank you for answering my question and making me feel stupid :)/>/>