You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • ...line # 18 will never be executed...

    Since you have a complete filled loop, you can let go of the loop of 1..<10... just do the line. Furthermore, require is a lookup - fast but still a look up, therefore get it into a variable at the beginning w/ var np = require("neopixel");.

About

Avatar for allObjects @allObjects started