Attempts to merge SPI_TFT2 & SPI_TFT_ILI9341
Dependencies: SPI_TFTx2 TFT_fonts TOUCH_TFTx2 mbed
Fork of CANary by
Util/mbedUtils.h@1:9dcd70c32180, 2013-02-03 (annotated)
- Committer:
- TickTock
- Date:
- Sun Feb 03 18:16:53 2013 +0000
- Revision:
- 1:9dcd70c32180
compiles
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
TickTock | 1:9dcd70c32180 | 1 | /* |
TickTock | 1:9dcd70c32180 | 2 | Copyright (c) 2011 Robert Ellis (holistic [at] robellis [dot] org [dot] uk) |
TickTock | 1:9dcd70c32180 | 3 | |
TickTock | 1:9dcd70c32180 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy |
TickTock | 1:9dcd70c32180 | 5 | of this software and associated documentation files (the "Software"), to deal |
TickTock | 1:9dcd70c32180 | 6 | in the Software without restriction, including without limitation the rights |
TickTock | 1:9dcd70c32180 | 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
TickTock | 1:9dcd70c32180 | 8 | copies of the Software, and to permit persons to whom the Software is |
TickTock | 1:9dcd70c32180 | 9 | furnished to do so, subject to the following conditions: |
TickTock | 1:9dcd70c32180 | 10 | |
TickTock | 1:9dcd70c32180 | 11 | The above copyright notice and this permission notice shall be included in |
TickTock | 1:9dcd70c32180 | 12 | all copies or substantial portions of the Software. |
TickTock | 1:9dcd70c32180 | 13 | |
TickTock | 1:9dcd70c32180 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
TickTock | 1:9dcd70c32180 | 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
TickTock | 1:9dcd70c32180 | 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
TickTock | 1:9dcd70c32180 | 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
TickTock | 1:9dcd70c32180 | 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
TickTock | 1:9dcd70c32180 | 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
TickTock | 1:9dcd70c32180 | 20 | THE SOFTWARE. |
TickTock | 1:9dcd70c32180 | 21 | */ |
TickTock | 1:9dcd70c32180 | 22 | |
TickTock | 1:9dcd70c32180 | 23 | #ifndef MBED_UTILS_H |
TickTock | 1:9dcd70c32180 | 24 | #define MBED_UTILS_H |
TickTock | 1:9dcd70c32180 | 25 | |
TickTock | 1:9dcd70c32180 | 26 | /** |
TickTock | 1:9dcd70c32180 | 27 | * Get the amount of free RAM left on the mbed in bytes. |
TickTock | 1:9dcd70c32180 | 28 | */ |
TickTock | 1:9dcd70c32180 | 29 | int getFreeMemory(); |
TickTock | 1:9dcd70c32180 | 30 | |
TickTock | 1:9dcd70c32180 | 31 | #endif |