What’s In a Name?

Crestron SIMPL Windows uses “named signals” to wire up programming logic.  These signals are referred to as digital (either high or low), analog (a 16-bit number), or serial (a string of characters).  Color is used to distinguish what type a signal is–blue for digital, red for analog, black for serial, green for ambiguous–but otherwise, your only clue about what information a signal carries is left up to its name.

How then should you name your signals?  Let’s look at a few examples and see why they are good choices for signal naming.

Continue reading “What’s In a Name?”

New Language: Lua

Today I decided I would start playing around with Lua a bit to see how far I can go with the language.  I came across a post on Reddit this morning talking about the differences in versions, and learned that between 5.1, 5.2, and 5.3 the differences are great.  It looks like Lua is a very mature language that has stabilized, so probably a good time to give it a try.

I hope to post some of my projects here as I’m working on them.  It’ll be small snippets of code I’m sure, but hopefully it will be something interesting to follow.