1+
2+ /*
3+ @brief sfeTkArduino.h
4+
5+ The MIT License (MIT)
6+
7+ Copyright (c) 2023 SparkFun Electronics
8+
9+ Permission is hereby granted, free of charge, to any person obtaining a
10+ copy of this software and associated documentation files (the "Software"),
11+ to deal in the Software without restriction, including without limitation
12+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
13+ and/or sell copies of the Software, and to permit persons to whom the
14+ Software is furnished to do so, subject to the following conditions: The
15+ above copyright notice and this permission notice shall be included in all
16+ copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED
17+ "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
18+ NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
19+ PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
21+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23+
24+ */
25+
26+ #pragma once
27+
28+ // Purpose:
29+ //
30+ // "Arduino-ized" value of toolkit values constants"
31+
32+ // Just include the toolkit headers
33+
34+ #include <sfeTk/sfeToolkit.h>
35+
36+ // Arduino-ize our byte order types
37+
38+ const sfeTKByteOrder SFTK_MSBFIRST = sfeTKByteOrder ::BigEndian ;
39+ const sfeTKByteOrder SFTK_LSBFIRST = sfeTKByteOrder ::LittleEndian ;
0 commit comments