Simple single-color 8x8x8 LED Cube with AVRs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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);