Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
inc/globals.h@4:db38665c3727, 2018-11-29 (annotated)
- Committer:
- mfwic
- Date:
- Thu Nov 29 00:07:25 2018 +0000
- Revision:
- 4:db38665c3727
- Parent:
- 1:9f8583ba2431
- Child:
- 6:39442d493098
Added lut.h and lut.c, still work in progress but it compiles.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mfwic | 0:44a3005d4f20 | 1 | //------------------------------------------------------------------------------- |
mfwic | 0:44a3005d4f20 | 2 | // |
mfwic | 0:44a3005d4f20 | 3 | // Treehouse Designs Inc. |
mfwic | 0:44a3005d4f20 | 4 | // Colorado Springs, Colorado |
mfwic | 0:44a3005d4f20 | 5 | // |
mfwic | 0:44a3005d4f20 | 6 | // Copyright (c) 2016 by Treehouse Designs Inc. |
mfwic | 0:44a3005d4f20 | 7 | // Copyright (c) 2018 by Agility Power Systems Inc. |
mfwic | 0:44a3005d4f20 | 8 | // |
mfwic | 0:44a3005d4f20 | 9 | // This code is the property of Treehouse Designs, Inc. (Treehouse) and |
mfwic | 0:44a3005d4f20 | 10 | // Agility Power Systems Inc. (Agility) and may not be redistributed |
mfwic | 0:44a3005d4f20 | 11 | // in any form without prior written permission from |
mfwic | 0:44a3005d4f20 | 12 | // both copyright holders, Treehouse and Agility. |
mfwic | 0:44a3005d4f20 | 13 | // |
mfwic | 0:44a3005d4f20 | 14 | // The above copyright notice and this permission notice shall be included in |
mfwic | 0:44a3005d4f20 | 15 | // all copies or substantial portions of the Software. |
mfwic | 0:44a3005d4f20 | 16 | // |
mfwic | 0:44a3005d4f20 | 17 | // |
mfwic | 0:44a3005d4f20 | 18 | //------------------------------------------------------------------------------- |
mfwic | 0:44a3005d4f20 | 19 | // |
mfwic | 0:44a3005d4f20 | 20 | // REVISION HISTORY: |
mfwic | 0:44a3005d4f20 | 21 | // |
mfwic | 0:44a3005d4f20 | 22 | // $Author: $ |
mfwic | 0:44a3005d4f20 | 23 | // $Rev: $ |
mfwic | 0:44a3005d4f20 | 24 | // $Date: $ |
mfwic | 0:44a3005d4f20 | 25 | // $URL: $ |
mfwic | 0:44a3005d4f20 | 26 | // |
mfwic | 0:44a3005d4f20 | 27 | //------------------------------------------------------------------------------- |
mfwic | 0:44a3005d4f20 | 28 | |
mfwic | 0:44a3005d4f20 | 29 | #ifndef GLOBALS_H |
mfwic | 0:44a3005d4f20 | 30 | #define GLOBALS_H |
mfwic | 0:44a3005d4f20 | 31 | |
mfwic | 0:44a3005d4f20 | 32 | #define TRUE 1 |
mfwic | 0:44a3005d4f20 | 33 | #define FALSE 0 |
mfwic | 0:44a3005d4f20 | 34 | |
mfwic | 0:44a3005d4f20 | 35 | #define GET FALSE |
mfwic | 0:44a3005d4f20 | 36 | #define SET TRUE |
mfwic | 0:44a3005d4f20 | 37 | |
mfwic | 0:44a3005d4f20 | 38 | #define ON 1 |
mfwic | 0:44a3005d4f20 | 39 | #define OFF 0 |
mfwic | 0:44a3005d4f20 | 40 | |
mfwic | 0:44a3005d4f20 | 41 | #define BOARD_ENABLE_DELAY_MS 50 |
mfwic | 0:44a3005d4f20 | 42 | |
mfwic | 1:9f8583ba2431 | 43 | #define ALLON 0x1FFF |
mfwic | 4:db38665c3727 | 44 | const int allon[] = {1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1}; |
mfwic | 1:9f8583ba2431 | 45 | #define ALLOFF 0x0000 |
mfwic | 1:9f8583ba2431 | 46 | |
mfwic | 1:9f8583ba2431 | 47 | #define MAX_BOARDS 12 |
mfwic | 1:9f8583ba2431 | 48 | #define MAX_REGISTERS 1 |
mfwic | 0:44a3005d4f20 | 49 | |
mfwic | 0:44a3005d4f20 | 50 | extern int menuLevel; |
mfwic | 0:44a3005d4f20 | 51 | |
mfwic | 0:44a3005d4f20 | 52 | #define LEVEL_MAIN 0 |
mfwic | 0:44a3005d4f20 | 53 | |
mfwic | 0:44a3005d4f20 | 54 | extern void processCommand(void); |
mfwic | 0:44a3005d4f20 | 55 | |
mfwic | 0:44a3005d4f20 | 56 | #endif |