51 52 with same code
Dependencies: MtSense07
Fork of MtConnect04S_MtSense07 by
config.h
- Committer:
- johnathanlyu
- Date:
- 2018-04-27
- Revision:
- 4:4ca64a863fbf
- Parent:
- 2:87f1b98c0d09
File content as of revision 4:4ca64a863fbf:
/* Copyright (c) 2016 MtM Technology Corporation, MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge, publish, distribute,
* sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all copies or
* substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
* BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#define RUN_ALL_SENSOR_COM 0 // Show the result by COM port (Default)
#define RUN_IR_AK9750_APP 1 // Show the result by APP
#define RUN_COMPASS_AK09912_APP 2 // Show the result by APP
#define RUN_MAGNETIC_AK09970_APP 3 // Show the result by APP
#define RUN_IR_AK9750_INT_COM 4 // Employ interrupt function and show the result by COM port
#define CONFIG_RUN_MODE RUN_ALL_SENSOR_COM
#define CONFIG_BAUDRATE (115200)
MtM+
