Ein Roboter mit bürstenlosem Antrieb, differenzial und NRF24L01 Funk. Großflächig gebaut um ein großes Solarpanel aufzunehmen. https://gitlab.informatik.hs-fulda.de/fdai5253/roboter
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.

47 lines
797 B

  1. /*
  2. TMRh20 2015
  3. ATTiny Configuration File
  4. */
  5. #ifndef __RF24_ARCH_CONFIG_H__
  6. #define __RF24_ARCH_CONFIG_H__
  7. /*** USER DEFINES: ***/
  8. //#define FAILURE_HANDLING
  9. //#define MINIMAL
  10. /**********************/
  11. #define rf24_max(a,b) (a>b?a:b)
  12. #define rf24_min(a,b) (a<b?a:b)
  13. #if ARDUINO < 100
  14. #include <WProgram.h>
  15. #else
  16. #include <Arduino.h>
  17. #endif
  18. #include <stddef.h>
  19. // Include the header file for SPI functions ( Main SPI code is contained in RF24.cpp for simplicity )
  20. #include "spi.h"
  21. #define _SPI SPI
  22. #ifdef SERIAL_DEBUG
  23. #define IF_SERIAL_DEBUG(x) ({x;})
  24. #else
  25. #define IF_SERIAL_DEBUG(x)
  26. #if defined(RF24_TINY)
  27. #define printf_P(...)
  28. #endif
  29. #endif
  30. #include <avr/pgmspace.h>
  31. #define PRIPSTR "%S"
  32. #endif // __RF24_ARCH_CONFIG_H__