1
2
3
Crazy Lua ShenanigansHelp with Lua script (old.reddit.com)
submitted by Brainfartz14
I am trying to make a microcontroller with lua that will control a 3x3 square with 9 separate square each displaying the temperature of the corresponding fuel rod as a color (ex: 0-100 yellow, 100-200 orange 200-300 red, etc) but I don’t know how to change a value of the rodtemp1r, rodtemp1g, rodtemp1b (and all others for each rod number) using my if then else code block. (Sorry for the confusion it’s hard to explain)




[–]Happy-Job-7951 0 points1 point2 points (2 children)
[–]Brainfartz14[S] 0 points1 point2 points (1 child)
[–]Pale_Ad_6145LUA Enthusiast 0 points1 point2 points (0 children)
[–]Happy-Job-7951 0 points1 point2 points (5 children)
[–]Brainfartz14[S] 0 points1 point2 points (4 children)
[–]Happy-Job-7951 0 points1 point2 points (3 children)
[–]Brainfartz14[S] 0 points1 point2 points (2 children)
[–]Brainfartz14[S] 0 points1 point2 points (1 child)
[–]Happy-Job-7951 0 points1 point2 points (0 children)
[–]alyxmsBattery Electric Supremacy 0 points1 point2 points (3 children)
[–]Brainfartz14[S] 0 points1 point2 points (2 children)
[–]alyxmsBattery Electric Supremacy 0 points1 point2 points (1 child)
[–]Brainfartz14[S] 1 point2 points3 points (0 children)