diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2009-11-21 23:23:43 +0000 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2009-11-21 23:23:43 +0000 |
commit | 35f5f6e99f15e0cc674c814937c82ef5fbbf86c3 (patch) | |
tree | bc2c0bbb790831ab26bfa8221cf6f3554363b89b /core/WProgram.h | |
parent | 80d8477877dc004f293d0ab1717b8783421d84a0 (diff) |
Improving third-party hardware support:
- moving back to multple cores per platform
- using target instead of platform
- moving per-board and per-programmer preferences out of Preferences.java and into a new Target class
- adding a new "target" preference
- support for platform:value values in board preferences for bootloader path and core
- XXX: need to support platform:value syntax for board upload.using preferences.
Diffstat (limited to 'core/WProgram.h')
-rwxr-xr-x | core/WProgram.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/core/WProgram.h b/core/WProgram.h deleted file mode 100755 index fc14923..0000000 --- a/core/WProgram.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef WProgram_h -#define WProgram_h - -#include <stdlib.h> -#include <string.h> -#include <math.h> - -#include <avr/interrupt.h> - -#include "wiring.h" - -#ifdef __cplusplus -#include "HardwareSerial.h" - -uint16_t makeWord(uint16_t w); -uint16_t makeWord(byte h, byte l); - -#define word(...) makeWord(__VA_ARGS__) - -unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L); - -// WMath prototypes -long random(long); -long random(long, long); -void randomSeed(unsigned int); -long map(long, long, long, long, long); -#endif - -#endif
\ No newline at end of file |