feat: added PicoW_Sensor code template
Credits to @ext-erich.styger that provided the template
This commit is contained in:
committed by
Sylvan Arnold
parent
b2e9eab44e
commit
6cd510e749
20
TSM_PicoW_Sensor/McuLib/config/McuINA260config.h
Normal file
20
TSM_PicoW_Sensor/McuLib/config/McuINA260config.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Copyright (c) 2023, Erich Styger
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef McuINA260_CONFIG_H_
|
||||
#define McuINA260_CONFIG_H_
|
||||
|
||||
#ifndef McuINA260_CONFIG_PARSE_COMMAND_ENABLED
|
||||
#define McuINA260_CONFIG_PARSE_COMMAND_ENABLED (1)
|
||||
/*!< If shell parser is enabled (1) or not (0). */
|
||||
#endif
|
||||
|
||||
#ifndef McuINA260_CONFIG_I2C_ADDRESS
|
||||
#define McuINA260_CONFIG_I2C_ADDRESS (0x40)
|
||||
/*! I2C address of the sensor, default 0x40 */
|
||||
#endif
|
||||
|
||||
#endif /* McuINA260_CONFIG_H_ */
|
||||
Reference in New Issue
Block a user