Closed vidavidorra closed 8 years ago
The data structure for the LedCube is below. This contains two CubeDataNN structure arrays.
typedef struct { uint32_t red; uint32_t green; uint32_t blue; }RowControlData_t, *pRowControlData_t, *pCubeData_t; typedef struct { RowControlData_t CubeData0[8][8]; RowControlData_t CubeData1[8][8]; pCubeData_t pCubeDataBase; const BamRoundMasks_t BamRoundMask[4]; const uint8_t BamRoundShift[4]; }CubeControlData_t, *pCubeControlData_t;
Currently there is the function below to initialize the CubeData pointer to the first CubeData buffer. It would be nice if there was a function like this to switch between the two buffers.
CubeData_init( const pCubeControlData_t _pCubeControlData )
The data structure for the LedCube is below. This contains two CubeDataNN structure arrays.
Currently there is the function below to initialize the CubeData pointer to the first CubeData buffer. It would be nice if there was a function like this to switch between the two buffers.