|
| 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 | + |
| 8 | + Hardware: Teensy 3.1, Platform=avr, Package=teensy |
| 9 | +*/ |
| 10 | + |
| 11 | +#ifndef _VSARDUINO_H_ |
| 12 | +#define _VSARDUINO_H_ |
| 13 | +#define ARDUINO 106 |
| 14 | +#define ARDUINO_MAIN |
| 15 | +#define __AVR__ |
| 16 | +#define __avr__ |
| 17 | +#define F_CPU 96000000 |
| 18 | +#define USB_SERIAL |
| 19 | +#define LAYOUT_US_ENGLISH |
| 20 | +#define __cplusplus |
| 21 | +#define GCC_VERSION 40702 |
| 22 | +#define ARDUINO_ARCH_AVR |
| 23 | +#define ARDUINO_AVR_TEENSY31 |
| 24 | +#define __MK20DX256__ |
| 25 | +#define TEENSYDUINO 120 |
| 26 | +#define __extension__ |
| 27 | +#define __attribute__(x) |
| 28 | +typedef void *__builtin_va_list; |
| 29 | + |
| 30 | +#define __extension__ |
| 31 | +#define __ATTR_PURE__ |
| 32 | +#define __ATTR_CONST__ |
| 33 | +#define __inline__ |
| 34 | +#define __asm__ |
| 35 | +#define __volatile__ |
| 36 | + |
| 37 | +#define NEW_H |
| 38 | +//#undef F |
| 39 | +//extern char F(const char*); |
| 40 | + |
| 41 | + |
| 42 | +extern int ffs (int __val) __ATTR_CONST__; |
| 43 | +extern int ffsl (long __val) __ATTR_CONST__; |
| 44 | +extern int ffsll (long long __val) __ATTR_CONST__; |
| 45 | +extern void *memccpy(void *, const void *, int, size_t); |
| 46 | +extern void *memchr(const void *, int, size_t) __ATTR_PURE__; |
| 47 | +extern int memcmp(const void *, const void *, size_t) __ATTR_PURE__; |
| 48 | +extern void *memcpy(void *, const void *, size_t); |
| 49 | +extern void *memmem(const void *, size_t, const void *, size_t) __ATTR_PURE__; |
| 50 | +extern void *memmove(void *, const void *, size_t); |
| 51 | +extern void *memrchr(const void *, int, size_t) __ATTR_PURE__; |
| 52 | +extern void *memset(void *, int, size_t); |
| 53 | +extern char *strcat(char *, const char *); |
| 54 | +extern char *strchr(const char *, int) __ATTR_PURE__; |
| 55 | +extern char *strchrnul(const char *, int) __ATTR_PURE__; |
| 56 | +extern int strcmp(const char *, const char *) __ATTR_PURE__; |
| 57 | +extern char *strcpy(char *, const char *); |
| 58 | +extern int strcasecmp(const char *, const char *) __ATTR_PURE__; |
| 59 | +extern char *strcasestr(const char *, const char *) __ATTR_PURE__; |
| 60 | +extern size_t strcspn(const char *__s, const char *__reject) __ATTR_PURE__; |
| 61 | +extern char *strdup(const char *s1); |
| 62 | +extern size_t strlcat(char *, const char *, size_t); |
| 63 | +extern size_t strlcpy(char *, const char *, size_t); |
| 64 | +extern size_t strlen(const char *) __ATTR_PURE__; |
| 65 | +extern char *strlwr(char *); |
| 66 | +extern char *strncat(char *, const char *, size_t); |
| 67 | +extern int strncmp(const char *, const char *, size_t) __ATTR_PURE__; |
| 68 | +extern char *strncpy(char *, const char *, size_t); |
| 69 | +extern int strncasecmp(const char *, const char *, size_t) __ATTR_PURE__; |
| 70 | +extern size_t strnlen(const char *, size_t) __ATTR_PURE__; |
| 71 | +extern char *strpbrk(const char *__s, const char *__accept) __ATTR_PURE__; |
| 72 | +extern char *strrchr(const char *, int) __ATTR_PURE__; |
| 73 | +extern char *strrev(char *); |
| 74 | +extern char *strsep(char **, const char *); |
| 75 | +extern size_t strspn(const char *__s, const char *__accept) __ATTR_PURE__; |
| 76 | +extern char *strstr(const char *, const char *) __ATTR_PURE__; |
| 77 | +extern char *strtok(char *, const char *); |
| 78 | +extern char *strtok_r(char *, const char *, char **); |
| 79 | +extern char *strupr(char *); |
| 80 | + |
| 81 | +#include <arduino.h> |
| 82 | +#undef F |
| 83 | +#define F(string_literal) ((const PROGMEM char *)(string_literal)) |
| 84 | +#undef cli |
| 85 | +#define cli() |
| 86 | +#define pgm_read_byte(address_short) |
| 87 | +#define pgm_read_word(address_short) |
| 88 | +#define pgm_read_word2(address_short) |
| 89 | +#define digitalPinToPort(P) |
| 90 | +#define digitalPinToBitMask(P) |
| 91 | +#define digitalPinToTimer(P) |
| 92 | +#define analogInPinToBit(P) |
| 93 | +#define portOutputRegister(P) |
| 94 | +#define portInputRegister(P) |
| 95 | +#define portModeRegister(P) |
| 96 | +#include <Aurora.ino> |
| 97 | +#include <Animations.h> |
| 98 | +#include <Attractor.h> |
| 99 | +#include <Aurora.h> |
| 100 | +#include <BitmapPlayer.h> |
| 101 | +#include <Bitmaps.h> |
| 102 | +#include <Boid.h> |
| 103 | +#include <ClockDigitalShort.h> |
| 104 | +#include <ClockDisplay.h> |
| 105 | +#include <ClockText.h> |
| 106 | +#include <Drawable.h> |
| 107 | +#include <Effects.h> |
| 108 | +#include <GifPlayer.h> |
| 109 | +#include <Hardware.h> |
| 110 | +#include <IrCodes.h> |
| 111 | +#include <Logo.h> |
| 112 | +#include <Menu.h> |
| 113 | +#include <MenuItem.h> |
| 114 | +#include <MessagePlayer.h> |
| 115 | +#include <PatternAnalogClock.h> |
| 116 | +#include <PatternAttract.h> |
| 117 | +#include <PatternBitmap.h> |
| 118 | +#include <PatternBounce.h> |
| 119 | +#include <PatternEffects.h> |
| 120 | +#include <PatternElectricMandala.h> |
| 121 | +#include <PatternFire.h> |
| 122 | +#include <PatternFlock.h> |
| 123 | +#include <PatternFlowField.h> |
| 124 | +#include <PatternInfinity.h> |
| 125 | +#include <PatternInvaders.h> |
| 126 | +#include <PatternLife.h> |
| 127 | +#include <PatternMaze.h> |
| 128 | +#include <PatternMunch.h> |
| 129 | +#include <PatternNoiseSmearing.h> |
| 130 | +#include <PatternPendulumWave.h> |
| 131 | +#include <PatternPlasma.h> |
| 132 | +#include <PatternPulse.h> |
| 133 | +#include <PatternRainbowSmoke.h> |
| 134 | +#include <PatternSimplexNoise.h> |
| 135 | +#include <PatternSnake.h> |
| 136 | +#include <PatternSpark.h> |
| 137 | +#include <PatternSpin.h> |
| 138 | +#include <PatternSpiral.h> |
| 139 | +#include <PatternSwirl.h> |
| 140 | +#include <PatternWave.h> |
| 141 | +#include <Patterns.h> |
| 142 | +#include <Playlist.h> |
| 143 | +#include <Runnable.h> |
| 144 | +#include <Settings.h> |
| 145 | +#include <SettingsAutoplayDuration.h> |
| 146 | +#include <SettingsBackgroundBrightness.h> |
| 147 | +#include <SettingsBrightness.h> |
| 148 | +#include <SettingsClock24Hour.h> |
| 149 | +#include <SettingsClockColor.h> |
| 150 | +#include <SettingsMenuColor.h> |
| 151 | +#include <SettingsMoveClock.h> |
| 152 | +#include <SettingsSetTime.h> |
| 153 | +#include <StreamingMode.h> |
| 154 | +#include <Vector.h> |
| 155 | +#endif |
0 commit comments