Simple single-color 8x8x8 LED Cube with AVRs
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213
  1. #include <stdint.h>
  2. // Time one latch is active in ns
  3. #define LATCHDELAY 63
  4. extern volatile uint8_t **imgBuffer; // imgBuffer[8][8]
  5. extern volatile uint8_t imgFlag;
  6. extern void setFet(uint8_t data);
  7. extern void selectLatch(uint8_t latchNr);
  8. extern void setLatch(uint8_t latchNr, uint8_t data);
  9. extern void isrCall(void);
  10. extern void delay_ns(uint16_t ns);