changed evout to filter stuff for debugging purposes

This commit is contained in:
Izaya 2017-04-20 19:02:34 +10:00
parent 826fd9bcc0
commit 01c865d3eb
2 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,9 @@
s("evp",function()
local evs={l()}
if evs ~= nil then
ns(T.unpack(evs))
while true do
if ev ~= nil and ev[1] ~= "display" and ev[1] ~= "key_down" and ev[1] ~= "key_up" and ev[1] ~= "screen_resized" and ev[1] ~= "modem_message" and ev[1] ~= "sendmsg" then
-- ns(T.unpack(evs))
print(T.unpack(ev))
end
C.yield()
end
end)

View File

@ -0,0 +1 @@
pcall(load(component.invoke(component.list("eeprom")(),"getData")))