Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025 Gunar Schorcht
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
25
26#include <stdint.h>
27
32
41#define BTN0_PIN GPIO9
42
49#define BTN0_MODE GPIO_IN_PU
50
54#ifndef BTN0_INT_FLANK
55# define BTN0_INT_FLANK GPIO_FALLING
56#endif
57
61#define BUTTON0_PIN BTN0_PIN
62
64
72#ifndef WS281X_PARAM_PIN
73# define WS281X_PARAM_PIN (GPIO8)
74#endif
75#ifndef WS281X_PARAM_NUMOF
76# define WS281X_PARAM_NUMOF (1U)
77#endif
79
80/* include common board definitions as last step */
81#include "board_common.h"
82
83#ifdef __cplusplus
84extern "C" {
85#endif
86
87#ifdef __cplusplus
88} /* end extern "C" */
89#endif
90