config.h (327B)
1 2 3 4 5 6 7 8 9 10 11 12 13
// Copyright 2026 jack@pngu.org // SPDX-License-Identifier: GPL-2.0-or-later #pragma once #define LCD_DISPLAY_WIDTH 135 #define LCD_DISPLAY_HEIGHT 240 #define LCD_SPI_DIVISOR 4 #define ADC_RESOLUTION 12 #define ADC_SATURATION ((1 << 12) - 1) #define NUM_ADC_READS 32 #define ADC_CURRENT_PIN GP26 #define ADC_VOLTAGE_PIN GP27