/* * Copyright (c) 2022 HiSilicon (Shanghai) Technologies CO., LIMITED. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef APP_DEMO_CONFIG_H #define APP_DEMO_CONFIG_H #define ENVI_DISPLAY_INTERVAL_TIME (1) #define OLED_X_POSITION_0 (0) #define OLED_X_POSITION_18 (18) #define OLED_X_POSITION_40 (40) #define OLED_X_POSITION_48 (48) #define OLED_X_POSITION_56 (56) #define OLED_X_POSITION_60 (60) #define OLED_X_POSITION_81 (81) #define OLED_Y_POSITION_0 ((unsigned char)0x0) #define OLED_Y_POSITION_1 ((unsigned char)0x1) #define OLED_Y_POSITION_2 ((unsigned char)0x2) #define OLED_Y_POSITION_3 ((unsigned char)0x3) #define OLED_Y_POSITION_4 ((unsigned char)0x4) #define OLED_Y_POSITION_5 ((unsigned char)0x5) #define OLED_Y_POSITION_6 ((unsigned char)0x6) #define OLED_Y_POSITION_7 ((unsigned char)0x7) #define OLED_DISPLAY_STRING_TYPE_1 (1) #define OLED_DISPLAY_STRING_TYPE_16 (16) #endif