Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading file to NodeMcu: some error after modified the code. #4

Open
piebat opened this issue Aug 26, 2016 · 0 comments
Open

Uploading file to NodeMcu: some error after modified the code. #4

piebat opened this issue Aug 26, 2016 · 0 comments

Comments

@piebat
Copy link

piebat commented Aug 26, 2016

I'have this code:

-- LUA module for writer-reader hardware MFRC522 -
local mfrc = {}
function mfrc.foo()
    print("salve mondo!")
end

return mfrc

It goes well and it is loaded on NodeMcu without error
but if i modify in:

-- LUA module for writer-reader hardware MFRC522 
local mfrc = {}
function mfrc.foo()
    print("salve mondo!")
end

return mfrc

it cannot be loaded because give error!
Have you see the difference in line 1 ( I cancel a '-' )
The most interesting thing is that if I add again the 'dash' character at end of first line... it work again!
Ok I did other test.. not exhaustive, but until now I suspect something related to the numbers of characters in the first line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant