.drumduino_firmware.vsarduino.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. Editor: http://www.visualmicro.com
  3. visual micro and the arduino ide ignore this code during compilation. this code is automatically maintained by visualmicro, manual changes to this file will be overwritten
  4. the contents of the Visual Micro sketch sub folder can be deleted prior to publishing a project
  5. all non-arduino files created by visual micro and all visual studio project or solution files can be freely deleted and are not required to compile a sketch (do not delete your own code!).
  6. note: debugger breakpoints are stored in '.sln' or '.asln' files, knowledge of last uploaded breakpoints is stored in the upload.vmps.xml file. Both files are required to continue a previous debug session without needing to compile and upload again
  7. Hardware: Arduino Duemilanove or Diecimila w/ ATmega328, Platform=avr, Package=arduino
  8. */
  9. #ifndef _VSARDUINO_H_
  10. #define _VSARDUINO_H_
  11. #define __AVR_ATmega328p__
  12. #define __AVR_ATmega328P__
  13. #define ARDUINO 156
  14. #define ARDUINO_MAIN
  15. #define __AVR__
  16. #define __avr__
  17. #define F_CPU 16000000L
  18. #define __cplusplus
  19. #define __inline__
  20. #define __asm__(x)
  21. #define __extension__
  22. #define __ATTR_PURE__
  23. #define __ATTR_CONST__
  24. #define __inline__
  25. #define __asm__
  26. #define __volatile__
  27. #define __builtin_va_list
  28. #define __builtin_va_start
  29. #define __builtin_va_end
  30. #define __DOXYGEN__
  31. #define __attribute__(x)
  32. #define NOINLINE __attribute__((noinline))
  33. #define prog_void
  34. #define PGM_VOID_P int
  35. typedef unsigned char byte;
  36. extern "C" void __cxa_pure_virtual() {;}
  37. inline void setPrescalers(byte i);
  38. inline void multiplexSelectChan(uint8_t chan);
  39. //
  40. inline void handleMessage(byte* msg, byte length);
  41. inline void input();
  42. inline void output();
  43. //
  44. #include "C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\arduino.h"
  45. #include "C:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard\pins_arduino.h"
  46. #include "C:\Users\micro_000\Desktop\github\drumduino_firmware\drumduino_firmware.ino"
  47. #endif