Simple single-color 8x8x8 LED Cube with AVRs
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

transmit.h 1.1KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * transmit.c
  3. *
  4. * Copyright 2012 Thomas Buck <xythobuz@me.com>
  5. *
  6. * This file is part of LED-Cube.
  7. *
  8. * LED-Cube is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * LED-Cube is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with LED-Cube. If not, see <http://www.gnu.org/licenses/>.
  20. */
  21. #define LINEBUFFSIZE 81
  22. extern char buffer[LINEBUFFSIZE];
  23. void recieveAnimations(void);
  24. void transmitAnimations(void);
  25. void sendAudioData(void);
  26. void printTime(void);
  27. void dumpFrame(uint8_t *f);
  28. uint8_t *readLine(void);
  29. uint16_t readNumber(uint8_t base);
  30. void writeNumber(uint8_t num, uint8_t base);
  31. uint8_t *readAFrame(void);
  32. void simpleAnimationInput(void);
  33. void textRenderInput(void);