From old LED cube code.  No longer needed.