basic LED functions

Just FYI, the comma operator in C evaluates each of the operands and returns the value of the last one. So [2, 3, 4] evaluates to the same as [4].

Andrew