Simple single-color 8x8x8 LED Cube with AVRs
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

mem.h 276B

12345678910111213141516
  1. /*
  2. * mem.c - HardwareEmulator
  3. * frame is represented as 65 bytes.
  4. * 0 - 63: frame data
  5. * 64: duration, 0 => 1/24th second
  6. */
  7. // return != 0 if error
  8. int addFrame(char *frame);
  9. // returns NULL if error
  10. char *getFrame(int index);
  11. int framesStored();
  12. void clearMemory();