As the title says... Chat on...

User avatar
By genesisfactor
#12351 Hey everyone, i have this problem crashing my Lua. I've simplified it to it's root cause

Code: Select all--uart.setup(0,9600,8,0,1,0);
test = 255;
print(test);
uart.write(test);


i get the message: uart 255 does not exist
when i run it in my program, i get: PANIC: unprotected error in call to Lua API (rgb:75: uart 255 does not exist)

May someone explain to me why this occurs and how to fix it? Thanks!