![](/media/cache/group/logo.001.png.50x50_q85.png)
51 52 with same code
Dependencies: MtSense07
Fork of MtConnect04S_MtSense07 by
config.h@4:4ca64a863fbf, 2018-04-27 (annotated)
- Committer:
- johnathanlyu
- Date:
- Fri Apr 27 10:00:21 2018 +0000
- Revision:
- 4:4ca64a863fbf
- Parent:
- 2:87f1b98c0d09
51 52 with same code
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bcc6 | 1:40c18f027e6c | 1 | /* Copyright (c) 2016 MtM Technology Corporation, MIT License |
bcc6 | 1:40c18f027e6c | 2 | * |
bcc6 | 1:40c18f027e6c | 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
bcc6 | 1:40c18f027e6c | 4 | * and associated documentation files (the "Software"), to deal in the Software without restriction, |
bcc6 | 1:40c18f027e6c | 5 | * including without limitation the rights to use, copy, modify, merge, publish, distribute, |
bcc6 | 1:40c18f027e6c | 6 | * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is |
bcc6 | 1:40c18f027e6c | 7 | * furnished to do so, subject to the following conditions: |
bcc6 | 1:40c18f027e6c | 8 | * |
bcc6 | 1:40c18f027e6c | 9 | * The above copyright notice and this permission notice shall be included in all copies or |
bcc6 | 1:40c18f027e6c | 10 | * substantial portions of the Software. |
bcc6 | 1:40c18f027e6c | 11 | * |
bcc6 | 1:40c18f027e6c | 12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
bcc6 | 1:40c18f027e6c | 13 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
bcc6 | 1:40c18f027e6c | 14 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
bcc6 | 1:40c18f027e6c | 15 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
bcc6 | 1:40c18f027e6c | 16 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
bcc6 | 1:40c18f027e6c | 17 | */ |
bcc6 | 1:40c18f027e6c | 18 | |
bcc6 | 2:87f1b98c0d09 | 19 | #define RUN_ALL_SENSOR_COM 0 // Show the result by COM port (Default) |
bcc6 | 1:40c18f027e6c | 20 | #define RUN_IR_AK9750_APP 1 // Show the result by APP |
bcc6 | 1:40c18f027e6c | 21 | #define RUN_COMPASS_AK09912_APP 2 // Show the result by APP |
bcc6 | 1:40c18f027e6c | 22 | #define RUN_MAGNETIC_AK09970_APP 3 // Show the result by APP |
bcc6 | 2:87f1b98c0d09 | 23 | #define RUN_IR_AK9750_INT_COM 4 // Employ interrupt function and show the result by COM port |
bcc6 | 1:40c18f027e6c | 24 | |
bcc6 | 1:40c18f027e6c | 25 | #define CONFIG_RUN_MODE RUN_ALL_SENSOR_COM |
bcc6 | 1:40c18f027e6c | 26 | #define CONFIG_BAUDRATE (115200) |
bcc6 | 1:40c18f027e6c | 27 | |
bcc6 | 1:40c18f027e6c | 28 |