doc: renamed project
This commit is contained in:
committed by
Sylvan Arnold
parent
244e516bd8
commit
32618389d1
42
pico-sensor/src/application.h
Normal file
42
pico-sensor/src/application.h
Normal file
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright (c) 2023-2024, Erich Styger
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef __APPLICATION_H__
|
||||
#define __APPLICATION_H__
|
||||
|
||||
#include "platform.h"
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if PL_CONFIG_USE_BUTTONS
|
||||
#include "buttons.h"
|
||||
#include "McuDebounce.h"
|
||||
|
||||
void App_OnButtonEvent(BTN_Buttons_e button, McuDbnc_EventKinds kind);
|
||||
#endif
|
||||
|
||||
uint8_t App_GetSensorValues(float *temperature, float *humidity);
|
||||
|
||||
#if PL_CONFIG_USE_SHELL
|
||||
#include "McuShell.h"
|
||||
uint8_t App_ParseCommand(const unsigned char *cmd, bool *handled, const McuShell_StdIOType *io);
|
||||
#endif
|
||||
|
||||
#if PL_CONFIG_USE_MQTT_CLIENT
|
||||
void App_MqttTaskResume(void);
|
||||
void App_MqttTaskSuspend(void);
|
||||
#endif
|
||||
|
||||
void App_Init(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /* __APPLICATION_H__ */
|
||||
Reference in New Issue
Block a user