PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)

Dependents:   YATTT sd_map_test cPong SnowDemo ... more

PokittoLib

Library for programming Pokitto hardware

How to Use

  1. Import this library to online compiler (see button "import" on the right hand side
  2. DO NOT import mbed-src anymore, a better version is now included inside PokittoLib
  3. Change My_settings.h according to your project
  4. Start coding!
Committer:
Pokitto
Date:
Wed Dec 25 23:59:52 2019 +0000
Revision:
71:531419862202
Parent:
66:6281a40d73e6
Changed Mode2 C++ refresh code (graphical errors)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Pokitto 0:e8b8f36b4505 1 /**************************************************************************/
Pokitto 0:e8b8f36b4505 2 /*!
Pokitto 0:e8b8f36b4505 3 @file Pokitto_settings.h
Pokitto 0:e8b8f36b4505 4 @author Jonne Valola
Pokitto 0:e8b8f36b4505 5
Pokitto 0:e8b8f36b4505 6 @section LICENSE
Pokitto 0:e8b8f36b4505 7
Pokitto 0:e8b8f36b4505 8 Software License Agreement (BSD License)
Pokitto 0:e8b8f36b4505 9
Pokitto 0:e8b8f36b4505 10 Copyright (c) 2016, Jonne Valola
Pokitto 0:e8b8f36b4505 11 All rights reserved.
Pokitto 0:e8b8f36b4505 12
Pokitto 0:e8b8f36b4505 13 Redistribution and use in source and binary forms, with or without
Pokitto 0:e8b8f36b4505 14 modification, are permitted provided that the following conditions are met:
Pokitto 0:e8b8f36b4505 15 1. Redistributions of source code must retain the above copyright
Pokitto 0:e8b8f36b4505 16 notice, this list of conditions and the following disclaimer.
Pokitto 0:e8b8f36b4505 17 2. Redistributions in binary form must reproduce the above copyright
Pokitto 0:e8b8f36b4505 18 notice, this list of conditions and the following disclaimer in the
Pokitto 0:e8b8f36b4505 19 documentation and/or other materials provided with the distribution.
Pokitto 0:e8b8f36b4505 20 3. Neither the name of the copyright holders nor the
Pokitto 0:e8b8f36b4505 21 names of its contributors may be used to endorse or promote products
Pokitto 0:e8b8f36b4505 22 derived from this software without specific prior written permission.
Pokitto 0:e8b8f36b4505 23
Pokitto 0:e8b8f36b4505 24 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY
Pokitto 0:e8b8f36b4505 25 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
Pokitto 0:e8b8f36b4505 26 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Pokitto 0:e8b8f36b4505 27 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
Pokitto 0:e8b8f36b4505 28 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
Pokitto 0:e8b8f36b4505 29 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
Pokitto 0:e8b8f36b4505 30 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
Pokitto 0:e8b8f36b4505 31 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
Pokitto 0:e8b8f36b4505 32 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
Pokitto 0:e8b8f36b4505 33 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Pokitto 0:e8b8f36b4505 34 */
Pokitto 0:e8b8f36b4505 35 /**************************************************************************/
Pokitto 0:e8b8f36b4505 36
Pokitto 0:e8b8f36b4505 37
Pokitto 0:e8b8f36b4505 38 #ifndef POKITTO_SETTINGS_H
Pokitto 0:e8b8f36b4505 39 #define POKITTO_SETTINGS_H
Pokitto 0:e8b8f36b4505 40
Pokitto 66:6281a40d73e6 41 #include "My_settings.h"
Pokitto 4:ecf2fe370c1c 42
Pokitto 0:e8b8f36b4505 43 #ifdef PROJ_BOARDREV
Pokitto 0:e8b8f36b4505 44 #define POK_BOARDREV PROJ_BOARDREV // which revision of Pokitto board
Pokitto 0:e8b8f36b4505 45 #else
Pokitto 0:e8b8f36b4505 46 #define POK_BOARDREV 2 // default is boardrev 2 (the 4-layer board)
Pokitto 0:e8b8f36b4505 47 #endif
Pokitto 0:e8b8f36b4505 48
Pokitto 0:e8b8f36b4505 49 /** LOGO */
Pokitto 0:e8b8f36b4505 50 #ifdef PROJ_STARTUPLOGO
Pokitto 0:e8b8f36b4505 51 #define POK_DISPLAYLOGO PROJ_STARTUPLOGO// if enabled, show logo at start
Pokitto 0:e8b8f36b4505 52 #else
Pokitto 0:e8b8f36b4505 53 #define POK_DISPLAYLOGO 1
Pokitto 0:e8b8f36b4505 54 #endif
Pokitto 0:e8b8f36b4505 55
Pokitto 0:e8b8f36b4505 56 #define POK_ENABLE_REFRESHWITHWAIT 0 // choose whether waiting in application refreshes display or not
Pokitto 0:e8b8f36b4505 57 #define POK_ENABLE_FPSCOUNTER 0 // turn off to save some cpu
Pokitto 0:e8b8f36b4505 58 #define POK_ENABLE_SD 1 // Define true to include SD library
Pokitto 0:e8b8f36b4505 59 #define POK_LOADER_COUNTDOWN 3 //how many seconds waiting for C press for loader
Pokitto 0:e8b8f36b4505 60
Pokitto 0:e8b8f36b4505 61 #ifndef PROJ_ENABLE_SOUND
Pokitto 0:e8b8f36b4505 62 #define POK_ENABLE_SOUND 1
Pokitto 0:e8b8f36b4505 63 #else
Pokitto 0:e8b8f36b4505 64 #define POK_ENABLE_SOUND PROJ_ENABLE_SOUND
Pokitto 0:e8b8f36b4505 65 #endif
Pokitto 0:e8b8f36b4505 66
Pokitto 35:4f7edccf8ed6 67 #ifndef PROJ_SOUND_BUFFERED
Pokitto 35:4f7edccf8ed6 68 #define POK_SOUND_BUFFERED 0
Pokitto 35:4f7edccf8ed6 69 #else
Pokitto 35:4f7edccf8ed6 70 #define POK_SOUND_BUFFERED PROJ_SOUND_BUFFERED
Pokitto 35:4f7edccf8ed6 71 #endif
Pokitto 35:4f7edccf8ed6 72
Pokitto 0:e8b8f36b4505 73 #ifndef PROJ_GBSOUND
Pokitto 4:ecf2fe370c1c 74 #if POK_ENABLE_SOUND > 0
Pokitto 4:ecf2fe370c1c 75 #define POK_GBSOUND 0
Pokitto 4:ecf2fe370c1c 76 #endif
Pokitto 0:e8b8f36b4505 77 #else
Pokitto 0:e8b8f36b4505 78 #define POK_GBSOUND PROJ_GBSOUND
Pokitto 66:6281a40d73e6 79 //#define NUM_CHANNELS 2
Pokitto 0:e8b8f36b4505 80 #endif
Pokitto 0:e8b8f36b4505 81
Pokitto 0:e8b8f36b4505 82
Pokitto 0:e8b8f36b4505 83 #ifndef PROJ_STREAMING_MUSIC
Pokitto 35:4f7edccf8ed6 84 #define POK_STREAMING_MUSIC 0 // Define true to stream music from SD
Pokitto 0:e8b8f36b4505 85 #else
Pokitto 0:e8b8f36b4505 86 #define POK_STREAMING_MUSIC PROJ_STREAMING_MUSIC
Pokitto 0:e8b8f36b4505 87 #endif // PROJ_STREAMING_MUSIC
Pokitto 0:e8b8f36b4505 88
Pokitto 0:e8b8f36b4505 89 #ifndef PROJ_ENABLE_SYNTH
Pokitto 0:e8b8f36b4505 90 #define POK_ENABLE_SYNTH 0
Pokitto 0:e8b8f36b4505 91 #else
Pokitto 0:e8b8f36b4505 92 #define POK_ENABLE_SYNTH PROJ_ENABLE_SYNTH
Pokitto 0:e8b8f36b4505 93 #endif // PROJ_ENABLE_SYNTH
Pokitto 0:e8b8f36b4505 94
Pokitto 66:6281a40d73e6 95 #define HIGH_RAM_OFF 0 // SRAM1/SRAM2 are at the default setting
Pokitto 66:6281a40d73e6 96 #define HIGH_RAM_ON 1 // SRAM1/SRAM2 are enabled and free for use
Pokitto 66:6281a40d73e6 97 #define HIGH_RAM_MUSIC 2 // SRAM1/SRAM2 are enabled and used by music
Pokitto 66:6281a40d73e6 98
Pokitto 66:6281a40d73e6 99 #ifndef PROJ_HIGH_RAM
Pokitto 66:6281a40d73e6 100 #define POK_HIGH_RAM HIGH_RAM_OFF
Pokitto 66:6281a40d73e6 101 #else
Pokitto 66:6281a40d73e6 102 #define POK_HIGH_RAM PROJ_HIGH_RAM
Pokitto 66:6281a40d73e6 103 #endif
Pokitto 0:e8b8f36b4505 104
Pokitto 0:e8b8f36b4505 105 /** CONSOLE **/
Pokitto 30:796f9611d2ac 106 #define POK_USE_CONSOLE 0 //if debugging console is available or not
Pokitto 0:e8b8f36b4505 107 #define POK_CONSOLE_VISIBLE_AT_STARTUP 1 // whaddaya think ?
Pokitto 0:e8b8f36b4505 108 #define POK_CONSOLE_INTERVAL 1000 // interval in ms how often console is drawn
Pokitto 0:e8b8f36b4505 109 #if POK_USE_CONSOLE > 0 // this prevents trying to log messages if console is disabled
Pokitto 0:e8b8f36b4505 110 #define POK_CONSOLE_LOG_BUTTONS 0 // if console logs keypresses
Pokitto 0:e8b8f36b4505 111 #define POK_CONSOLE_LOG_COLLISIONS 1 // if console logs collisions
Pokitto 0:e8b8f36b4505 112 #endif // POK_USE_CONSOLE
Pokitto 0:e8b8f36b4505 113 #define CONSOLEBUFSIZE 20
Pokitto 0:e8b8f36b4505 114 #define POK_SHOW_VOLUME 0 // volumebar drawn after console if enabled
Pokitto 0:e8b8f36b4505 115 #define VOLUMEBAR_TIMEOUT 10 // frames before disappearing
Pokitto 0:e8b8f36b4505 116
Pokitto 0:e8b8f36b4505 117 /** PROJECT LIBRARY TYPE **/
Pokitto 0:e8b8f36b4505 118 // Tiled mode can NOT be buffered mode (fast mode, arduboy mode, gamebuino mode etc)
Pokitto 0:e8b8f36b4505 119 #if PROJ_TILEDMODE > 0
Pokitto 0:e8b8f36b4505 120 #define POK_TILEDMODE 1
Pokitto 0:e8b8f36b4505 121 #ifdef PROJ_TILEWIDTH
Pokitto 0:e8b8f36b4505 122 #define POK_TILE_W PROJ_TILEWIDTH
Pokitto 0:e8b8f36b4505 123 #else
Pokitto 0:e8b8f36b4505 124 #define POK_TILE_W 11
Pokitto 0:e8b8f36b4505 125 #endif // PROJ_TILEWIDTH
Pokitto 0:e8b8f36b4505 126 #if POK_TILE_W == 11
Pokitto 0:e8b8f36b4505 127 #define POK_TILES_X 20
Pokitto 0:e8b8f36b4505 128 #define LCDWIDTH 220
Pokitto 0:e8b8f36b4505 129 #elif POK_TILE_W == 12
Pokitto 0:e8b8f36b4505 130 #define POK_TILES_X 18
Pokitto 0:e8b8f36b4505 131 #define LCDWIDTH 216
Pokitto 0:e8b8f36b4505 132 #elif POK_TILE_W == 8
Pokitto 0:e8b8f36b4505 133 #define POK_TILES_X 27
Pokitto 0:e8b8f36b4505 134 #define LCDWIDTH 216
Pokitto 0:e8b8f36b4505 135 #elif POK_TILE_W == 32
Pokitto 0:e8b8f36b4505 136 #define POK_TILES_X 6
Pokitto 0:e8b8f36b4505 137 #define LCDWIDTH 220
Pokitto 0:e8b8f36b4505 138 #elif POK_TILE_W == 10
Pokitto 0:e8b8f36b4505 139 #define POK_TILES_X 22
Pokitto 0:e8b8f36b4505 140 #define LCDWIDTH 220
Pokitto 0:e8b8f36b4505 141 #elif POK_TILE_W == 14
Pokitto 0:e8b8f36b4505 142 #define POK_TILES_X 15
Pokitto 0:e8b8f36b4505 143 #define LCDWIDTH 210
Pokitto 0:e8b8f36b4505 144 #endif
Pokitto 0:e8b8f36b4505 145 #ifdef PROJ_TILEHEIGHT
Pokitto 0:e8b8f36b4505 146 #define POK_TILE_H PROJ_TILEHEIGHT
Pokitto 0:e8b8f36b4505 147 #else
Pokitto 0:e8b8f36b4505 148 #define POK_TILE_H 11
Pokitto 0:e8b8f36b4505 149 #endif // PROJ_TILEHEIGHT
Pokitto 0:e8b8f36b4505 150 #if POK_TILE_H == 11
Pokitto 0:e8b8f36b4505 151 #define POK_TILES_Y 16
Pokitto 0:e8b8f36b4505 152 #define LCDHEIGHT 176
Pokitto 0:e8b8f36b4505 153 #elif POK_TILE_H == 12
Pokitto 0:e8b8f36b4505 154 #define POK_TILES_Y 14
Pokitto 0:e8b8f36b4505 155 #define LCDHEIGHT 168
Pokitto 0:e8b8f36b4505 156 #elif POK_TILE_H == 8
Pokitto 0:e8b8f36b4505 157 #define POK_TILES_Y 22
Pokitto 0:e8b8f36b4505 158 #define LCDHEIGHT 176
Pokitto 0:e8b8f36b4505 159 #elif POK_TILE_H == 32
Pokitto 0:e8b8f36b4505 160 #define POK_TILES_Y 5
Pokitto 0:e8b8f36b4505 161 #define LCDHEIGHT 176
Pokitto 0:e8b8f36b4505 162 #elif POK_TILE_H == 10
Pokitto 0:e8b8f36b4505 163 #define POK_TILES_Y 17
Pokitto 0:e8b8f36b4505 164 #define LCDHEIGHT 170
Pokitto 0:e8b8f36b4505 165 #elif POK_TILE_H == 14
Pokitto 0:e8b8f36b4505 166 #define POK_TILES_Y 12
Pokitto 0:e8b8f36b4505 167 #define LCDHEIGHT 168
Pokitto 0:e8b8f36b4505 168 #endif
Pokitto 0:e8b8f36b4505 169 #else
Pokitto 0:e8b8f36b4505 170 #if PROJ_GAMEBUINO > 0
Pokitto 0:e8b8f36b4505 171 #define POK_GAMEBUINO_SUPPORT PROJ_GAMEBUINO // Define true to support Gamebuino library calls
Pokitto 0:e8b8f36b4505 172 #define PROJ_SCREENMODE MODE_GAMEBUINO_16COLOR
Pokitto 0:e8b8f36b4505 173 #define POK_STRETCH 1
Pokitto 0:e8b8f36b4505 174 #define PICOPALETTE 0
Pokitto 0:e8b8f36b4505 175 #define POK_COLORDEPTH 4
Pokitto 0:e8b8f36b4505 176 #else
Pokitto 0:e8b8f36b4505 177 #if PROJ_ARDUBOY > 0
Pokitto 0:e8b8f36b4505 178 #define POK_ARDUBOY_SUPPORT PROJ_ARDUBOY // Define true to support Arduboy library calls
Pokitto 0:e8b8f36b4505 179 #define PROJ_SCREENMODE MODE_ARDUBOY_16COLOR
Pokitto 0:e8b8f36b4505 180 #define POK_COLORDEPTH 1
Pokitto 0:e8b8f36b4505 181 #define POK_STRETCH 1
Pokitto 0:e8b8f36b4505 182 #define POK_FPS 20
Pokitto 0:e8b8f36b4505 183 #define PICOPALETTE 0
Pokitto 0:e8b8f36b4505 184 #else
Pokitto 0:e8b8f36b4505 185 #if PROJ_RBOY > 0
Pokitto 0:e8b8f36b4505 186 #define PROJ_SCREENMODE MODE_GAMEBUINO_16COLOR
Pokitto 0:e8b8f36b4505 187 #define POK_COLORDEPTH 1
Pokitto 0:e8b8f36b4505 188 #define POK_STRETCH 0
Pokitto 0:e8b8f36b4505 189 #define POK_FPS 40
Pokitto 0:e8b8f36b4505 190 #define PICOPALETTE 0
Pokitto 0:e8b8f36b4505 191 #else
Pokitto 0:e8b8f36b4505 192 #if PROJ_GAMEBOY > 0
Pokitto 0:e8b8f36b4505 193 #define PROJ_SCREENMODE MODE_GAMEBOY
Pokitto 0:e8b8f36b4505 194 #define POK_COLORDEPTH 2
Pokitto 0:e8b8f36b4505 195 #define POK_STRETCH 0
Pokitto 0:e8b8f36b4505 196 #define POK_FPS 6
Pokitto 0:e8b8f36b4505 197 #define PICOPALETTE 0
Pokitto 0:e8b8f36b4505 198 #else
Pokitto 0:e8b8f36b4505 199 #define POK_GAMEBUINO_SUPPORT 0
Pokitto 0:e8b8f36b4505 200 #define POK_GAMEBOY_SUPPORT 0
Pokitto 0:e8b8f36b4505 201 #define POK_ARDUBOY_SUPPORT 0
Pokitto 0:e8b8f36b4505 202 #define PICOPALETTE 0
Pokitto 0:e8b8f36b4505 203 #define POK_COLORDEPTH 4
Pokitto 0:e8b8f36b4505 204 #endif // PROJ_GAMEBOY
Pokitto 0:e8b8f36b4505 205 #endif // PROJ_RBOY
Pokitto 0:e8b8f36b4505 206 #endif // PROJ_ARDUBOY
Pokitto 0:e8b8f36b4505 207 #endif // PROJ_GAMEBUINO
Pokitto 0:e8b8f36b4505 208 #endif // PROJ_TILEDMODE
Pokitto 0:e8b8f36b4505 209
Pokitto 30:796f9611d2ac 210
Pokitto 0:e8b8f36b4505 211 /** SCREEN MODES TABLE -- DO NOT CHANGE THESE **/
Pokitto 0:e8b8f36b4505 212
Pokitto 0:e8b8f36b4505 213 #define POK_LCD_W 220 //<- do not change !!
Pokitto 0:e8b8f36b4505 214 #define POK_LCD_H 176 //<- do not change !!
Pokitto 0:e8b8f36b4505 215
Pokitto 0:e8b8f36b4505 216 #define MODE_NOBUFFER 0 //Size: 0
Pokitto 0:e8b8f36b4505 217 #define BUFSIZE_NOBUFFER 0
Pokitto 0:e8b8f36b4505 218 #define MODE_HI_4COLOR 1 //Size: 9680
Pokitto 0:e8b8f36b4505 219 #define BUFSIZE_HI_4 9680
Pokitto 0:e8b8f36b4505 220 #define MODE_FAST_16COLOR 2 //Size: 4840
Pokitto 0:e8b8f36b4505 221 #define BUFSIZE_FAST_16 4840
Pokitto 0:e8b8f36b4505 222 #define MODE_GAMEBUINO_16COLOR 4 //Size: 2016
Pokitto 0:e8b8f36b4505 223 #define BUFSIZE_GAMEBUINO_16 2016
Pokitto 0:e8b8f36b4505 224 #define MODE_ARDUBOY_16COLOR 5 //Size: 4096
Pokitto 0:e8b8f36b4505 225 #define BUFSIZE_ARDUBOY_16 4096
Pokitto 0:e8b8f36b4505 226 #define MODE_HI_MONOCHROME 6 //Size: 4840
Pokitto 0:e8b8f36b4505 227 #define BUFSIZE_HI_MONO 4840
Pokitto 0:e8b8f36b4505 228 #define MODE_HI_GRAYSCALE 7 //Size: 9680
Pokitto 0:e8b8f36b4505 229 #define BUFSIZE_HI_GS 9680
Pokitto 0:e8b8f36b4505 230 #define MODE_GAMEBOY 8
Pokitto 0:e8b8f36b4505 231 #define BUFSIZE_GAMEBOY 5760
Pokitto 0:e8b8f36b4505 232 #define MODE_UZEBOX 9
Pokitto 0:e8b8f36b4505 233 #define MODE_TVOUT 10
Pokitto 0:e8b8f36b4505 234 #define MODE_LAMENES 11
Pokitto 0:e8b8f36b4505 235 #define BUFSIZE_LAMENES 7680
Pokitto 0:e8b8f36b4505 236 #define MODE_256_COLOR 12
Pokitto 0:e8b8f36b4505 237 #define BUFSIZE_MODE_12 4176 // 72 x 58
Pokitto 30:796f9611d2ac 238 #define MODE13 13
Pokitto 30:796f9611d2ac 239 #define BUFSIZE_MODE13 9680 // 110*88
Pokitto 66:6281a40d73e6 240 #define MIXMODE 32
Pokitto 66:6281a40d73e6 241 #define BUFSIZE_MIXMODE 9680 // 110*88
Pokitto 66:6281a40d73e6 242 #define MODE64 64
Pokitto 66:6281a40d73e6 243 #define BUFSIZE_MODE64 19360 // 110*176
Pokitto 35:4f7edccf8ed6 244 #define MODE14 14
Pokitto 35:4f7edccf8ed6 245 #define BUFSIZE_MODE14 14520
Pokitto 66:6281a40d73e6 246 #define MODE15 15
Pokitto 66:6281a40d73e6 247 #define BUFSIZE_MODE15 19360
Pokitto 0:e8b8f36b4505 248 // Tiled modes
Pokitto 0:e8b8f36b4505 249 #define MODE_TILED_1BIT 1001
Pokitto 0:e8b8f36b4505 250 #define MODE_TILED_8BIT 1002
Pokitto 0:e8b8f36b4505 251
Pokitto 0:e8b8f36b4505 252
Pokitto 35:4f7edccf8ed6 253 #define R_MASK 0xF800
Pokitto 35:4f7edccf8ed6 254 #define G_MASK 0x7E0
Pokitto 35:4f7edccf8ed6 255 #define B_MASK 0x1F
Pokitto 0:e8b8f36b4505 256
Pokitto 0:e8b8f36b4505 257 /** SCREENMODE - USE THIS SELECTION FOR YOUR PROJECT **/
Pokitto 0:e8b8f36b4505 258
Pokitto 0:e8b8f36b4505 259 #if POK_TILEDMODE > 0
Pokitto 0:e8b8f36b4505 260 #ifndef PROJ_TILEBITDEPTH
Pokitto 0:e8b8f36b4505 261 #define PROJ_TILEBITDEPTH 8 //default tiling mode is 256 color mode!
Pokitto 0:e8b8f36b4505 262 #endif // PROJ_TILEBITDEPTH
Pokitto 0:e8b8f36b4505 263 #if PROJ_TILEBITDEPTH == 1
Pokitto 0:e8b8f36b4505 264 #define POK_SCREENMODE MODE_TILED_1BIT
Pokitto 0:e8b8f36b4505 265 #define POK_COLORDEPTH 1
Pokitto 0:e8b8f36b4505 266 #else
Pokitto 0:e8b8f36b4505 267 #define POK_SCREENMODE MODE_TILED_8BIT
Pokitto 0:e8b8f36b4505 268 #define POK_COLORDEPTH 8
Pokitto 0:e8b8f36b4505 269 #endif // PROJ_TILEBITDEPTH
Pokitto 0:e8b8f36b4505 270 #else
Pokitto 0:e8b8f36b4505 271 #ifndef PROJ_SCREENMODE
Pokitto 5:ea7377f3d1af 272 #undef POK_COLORDEPTH
Pokitto 0:e8b8f36b4505 273 #ifdef PROJ_HIRES
Pokitto 0:e8b8f36b4505 274 #if PROJ_HIRES > 0
Pokitto 0:e8b8f36b4505 275 #define POK_SCREENMODE MODE_HI_4COLOR
Pokitto 5:ea7377f3d1af 276 #undef POK_COLORDEPTH
Pokitto 0:e8b8f36b4505 277 #define POK_COLORDEPTH 2
Pokitto 0:e8b8f36b4505 278 #elif PROJ_HICOLOR > 0
Pokitto 0:e8b8f36b4505 279 #define POK_SCREENMODE MODE_256_COLOR
Pokitto 5:ea7377f3d1af 280 #undef POK_COLORDEPTH
Pokitto 0:e8b8f36b4505 281 #define POK_COLORDEPTH 8
Pokitto 0:e8b8f36b4505 282 #else
Pokitto 0:e8b8f36b4505 283 #define POK_SCREENMODE MODE_FAST_16COLOR
Pokitto 5:ea7377f3d1af 284 #undef POK_COLORDEPTH
Pokitto 0:e8b8f36b4505 285 #define POK_COLORDEPTH 4
Pokitto 0:e8b8f36b4505 286 #endif // PROJ_HIRES
Pokitto 0:e8b8f36b4505 287 #else
Pokitto 0:e8b8f36b4505 288 #define POK_SCREENMODE MODE_FAST_16COLOR
Pokitto 0:e8b8f36b4505 289 #define POK_COLORDEPTH 4
Pokitto 0:e8b8f36b4505 290 #endif // PROJ_HIRES
Pokitto 0:e8b8f36b4505 291 #else
Pokitto 0:e8b8f36b4505 292 #define POK_SCREENMODE PROJ_SCREENMODE
Pokitto 0:e8b8f36b4505 293 #endif
Pokitto 0:e8b8f36b4505 294 #endif // POK_TILEDMODE
Pokitto 0:e8b8f36b4505 295
Pokitto 66:6281a40d73e6 296 #if PROJ_MODE13 > 0 || PROJ_SCREENMODE == 13
Pokitto 35:4f7edccf8ed6 297 #undef POK_SCREENMODE //get rid of warnings
Pokitto 35:4f7edccf8ed6 298 #undef POK_COLORDEPTH
Pokitto 35:4f7edccf8ed6 299 #undef POK_FPS
Pokitto 35:4f7edccf8ed6 300 #define POK_SCREENMODE MODE13
Pokitto 35:4f7edccf8ed6 301 #define POK_COLORDEPTH 8
Pokitto 35:4f7edccf8ed6 302 #define POK_STRETCH 0
Pokitto 35:4f7edccf8ed6 303 #define POK_FPS 30
Pokitto 35:4f7edccf8ed6 304 #endif
Pokitto 35:4f7edccf8ed6 305
Pokitto 66:6281a40d73e6 306 #if PROJ_MIXMODE > 0
Pokitto 66:6281a40d73e6 307 #undef POK_SCREENMODE //get rid of warnings
Pokitto 66:6281a40d73e6 308 #undef POK_COLORDEPTH
Pokitto 66:6281a40d73e6 309 #undef POK_FPS
Pokitto 66:6281a40d73e6 310 #define POK_SCREENMODE MIXMODE
Pokitto 66:6281a40d73e6 311 #define POK_COLORDEPTH 8
Pokitto 66:6281a40d73e6 312 #define POK_STRETCH 0
Pokitto 66:6281a40d73e6 313 #define POK_FPS 30
Pokitto 66:6281a40d73e6 314 #endif
Pokitto 66:6281a40d73e6 315
Pokitto 66:6281a40d73e6 316
Pokitto 66:6281a40d73e6 317 #if PROJ_MODE64 > 0 || PROJ_SCREENMODE == 64
Pokitto 66:6281a40d73e6 318 #undef POK_SCREENMODE //get rid of warnings
Pokitto 66:6281a40d73e6 319 #undef POK_COLORDEPTH
Pokitto 66:6281a40d73e6 320 #undef POK_FPS
Pokitto 66:6281a40d73e6 321 #define POK_SCREENMODE MODE64
Pokitto 66:6281a40d73e6 322 #define POK_COLORDEPTH 8
Pokitto 66:6281a40d73e6 323 #define POK_STRETCH 0
Pokitto 66:6281a40d73e6 324 #define POK_FPS 30
Pokitto 66:6281a40d73e6 325 #endif
Pokitto 66:6281a40d73e6 326
Pokitto 66:6281a40d73e6 327 #if PROJ_MODE14 > 0 || PROJ_SCREENMODE == 14
Pokitto 35:4f7edccf8ed6 328 #undef POK_SCREENMODE //get rid of warnings
Pokitto 35:4f7edccf8ed6 329 #undef POK_COLORDEPTH
Pokitto 35:4f7edccf8ed6 330 #undef POK_FPS
Pokitto 35:4f7edccf8ed6 331 #define POK_SCREENMODE MODE14
Pokitto 35:4f7edccf8ed6 332 #define POK_COLORDEPTH 3
Pokitto 35:4f7edccf8ed6 333 #define POK_STRETCH 0
Pokitto 35:4f7edccf8ed6 334 #define POK_FPS 30
Pokitto 35:4f7edccf8ed6 335 #endif
Pokitto 66:6281a40d73e6 336 #if PROJ_MODE15 > 0 || PROJ_SCREENMODE == 15
Pokitto 35:4f7edccf8ed6 337 #undef POK_SCREENMODE //get rid of warnings
Pokitto 35:4f7edccf8ed6 338 #undef POK_COLORDEPTH
Pokitto 35:4f7edccf8ed6 339 #undef POK_FPS
Pokitto 35:4f7edccf8ed6 340 #define POK_SCREENMODE MODE15
Pokitto 35:4f7edccf8ed6 341 #define POK_COLORDEPTH 4
Pokitto 35:4f7edccf8ed6 342 #define POK_STRETCH 0
Pokitto 35:4f7edccf8ed6 343 #define POK_FPS 30
Pokitto 66:6281a40d73e6 344 #define POK_BITFRAME 4840
Pokitto 35:4f7edccf8ed6 345 #endif
Pokitto 0:e8b8f36b4505 346 /* DEFINE SCREENMODE AS THE MAXIMUM SCREEN SIZE NEEDED BY YOUR APP ... SEE SIZES LISTED ABOVE */
Pokitto 0:e8b8f36b4505 347
Pokitto 0:e8b8f36b4505 348 /** AUTOMATIC COLOR DEPTH SETTING - DO NOT CHANGE **/
Pokitto 0:e8b8f36b4505 349 #ifndef POK_COLORDEPTH
Pokitto 0:e8b8f36b4505 350 #define POK_COLORDEPTH 4 // 1...5 is valid
Pokitto 0:e8b8f36b4505 351 #endif // POK_COLORDEPTH
Pokitto 0:e8b8f36b4505 352
Pokitto 0:e8b8f36b4505 353 /** AUTOMATIC SCREEN BUFFER SIZE CALCULATION - DO NOT CHANGE **/
Pokitto 0:e8b8f36b4505 354 #if POK_SCREENMODE == 0
Pokitto 0:e8b8f36b4505 355 #define POK_SCREENBUFFERSIZE 0
Pokitto 0:e8b8f36b4505 356 #define LCDWIDTH POK_LCD_W
Pokitto 0:e8b8f36b4505 357 #define LCDHEIGHT POK_LCD_H
Pokitto 0:e8b8f36b4505 358 #define POK_BITFRAME 0
Pokitto 0:e8b8f36b4505 359 #elif POK_SCREENMODE == MODE_HI_MONOCHROME
Pokitto 0:e8b8f36b4505 360 #define POK_SCREENBUFFERSIZE POK_LCD_W*POK_LCD_H*POK_COLORDEPTH/8
Pokitto 0:e8b8f36b4505 361 #define LCDWIDTH POK_LCD_W
Pokitto 0:e8b8f36b4505 362 #define LCDHEIGHT POK_LCD_H
Pokitto 0:e8b8f36b4505 363 #define POK_BITFRAME 4840
Pokitto 0:e8b8f36b4505 364 #elif POK_SCREENMODE == MODE_HI_4COLOR || POK_SCREENMODE == MODE_HI_GRAYSCALE
Pokitto 66:6281a40d73e6 365 #define POK_SCREENBUFFERSIZE (POK_LCD_W*POK_LCD_H*POK_COLORDEPTH/4)
Pokitto 0:e8b8f36b4505 366 #define LCDWIDTH POK_LCD_W
Pokitto 0:e8b8f36b4505 367 #define LCDHEIGHT POK_LCD_H
Pokitto 0:e8b8f36b4505 368 #define POK_BITFRAME 4840
Pokitto 0:e8b8f36b4505 369 #elif POK_SCREENMODE == MODE_FAST_16COLOR
Pokitto 0:e8b8f36b4505 370 #define POK_SCREENBUFFERSIZE (POK_LCD_W/2)*(POK_LCD_H/2)*POK_COLORDEPTH/8
Pokitto 0:e8b8f36b4505 371 #define XCENTER POK_LCD_W/4
Pokitto 0:e8b8f36b4505 372 #define YCENTER POK_LCD_H/4
Pokitto 0:e8b8f36b4505 373 #define LCDWIDTH 110
Pokitto 0:e8b8f36b4505 374 #define LCDHEIGHT 88
Pokitto 0:e8b8f36b4505 375 #define POK_BITFRAME 1210
Pokitto 0:e8b8f36b4505 376 #elif POK_SCREENMODE == MODE_256_COLOR
Pokitto 0:e8b8f36b4505 377 #define POK_SCREENBUFFERSIZE 72*58
Pokitto 0:e8b8f36b4505 378 #define XCENTER 36
Pokitto 0:e8b8f36b4505 379 #define YCENTER 29
Pokitto 0:e8b8f36b4505 380 #define LCDWIDTH 72
Pokitto 0:e8b8f36b4505 381 #define LCDHEIGHT 58
Pokitto 0:e8b8f36b4505 382 #define POK_BITFRAME 72*58
Pokitto 0:e8b8f36b4505 383 #elif POK_SCREENMODE == MODE_GAMEBUINO_16COLOR
Pokitto 0:e8b8f36b4505 384 #define POK_SCREENBUFFERSIZE (84/2)*(48/2)*POK_COLORDEPTH/8
Pokitto 0:e8b8f36b4505 385 #define LCDWIDTH 84
Pokitto 0:e8b8f36b4505 386 #define LCDHEIGHT 48
Pokitto 0:e8b8f36b4505 387 #define POK_BITFRAME 504
Pokitto 0:e8b8f36b4505 388 #elif POK_SCREENMODE == MODE_ARDUBOY_16COLOR
Pokitto 0:e8b8f36b4505 389 #define POK_SCREENBUFFERSIZE (128/2)*(64/2)*POK_COLORDEPTH/8
Pokitto 0:e8b8f36b4505 390 #define LCDWIDTH 128
Pokitto 0:e8b8f36b4505 391 #define LCDHEIGHT 64
Pokitto 0:e8b8f36b4505 392 #define POK_BITFRAME 1024
Pokitto 0:e8b8f36b4505 393 #elif POK_SCREENMODE == MODE_LAMENES
Pokitto 0:e8b8f36b4505 394 #define POK_SCREENBUFFERSIZE (128)*(120)*POK_COLORDEPTH/8
Pokitto 0:e8b8f36b4505 395 #define LCDWIDTH 128
Pokitto 0:e8b8f36b4505 396 #define LCDHEIGHT 120
Pokitto 0:e8b8f36b4505 397 #define POK_BITFRAME 1210
Pokitto 0:e8b8f36b4505 398 #elif POK_SCREENMODE == MODE_GAMEBOY
Pokitto 0:e8b8f36b4505 399 #define POK_SCREENBUFFERSIZE (160)*(144)/4
Pokitto 0:e8b8f36b4505 400 #define LCDWIDTH 160
Pokitto 0:e8b8f36b4505 401 #define LCDHEIGHT 144
Pokitto 0:e8b8f36b4505 402 #define POK_BITFRAME 2880
Pokitto 30:796f9611d2ac 403 #elif POK_SCREENMODE == MODE13
Pokitto 30:796f9611d2ac 404 #define POK_SCREENBUFFERSIZE 110*88
Pokitto 30:796f9611d2ac 405 #define LCDWIDTH 110
Pokitto 30:796f9611d2ac 406 #define LCDHEIGHT 88
Pokitto 30:796f9611d2ac 407 #define POK_BITFRAME 110*88
Pokitto 66:6281a40d73e6 408 #elif POK_SCREENMODE == MIXMODE
Pokitto 66:6281a40d73e6 409 #define POK_SCREENBUFFERSIZE 110*88
Pokitto 66:6281a40d73e6 410 #define LCDWIDTH 110
Pokitto 66:6281a40d73e6 411 #define LCDHEIGHT 88
Pokitto 66:6281a40d73e6 412 #define POK_BITFRAME 110*88
Pokitto 66:6281a40d73e6 413 #elif POK_SCREENMODE == MODE64
Pokitto 66:6281a40d73e6 414 #define POK_SCREENBUFFERSIZE 110*176
Pokitto 66:6281a40d73e6 415 #define LCDWIDTH 110
Pokitto 66:6281a40d73e6 416 #define LCDHEIGHT 176
Pokitto 66:6281a40d73e6 417 #define POK_BITFRAME 110*176
Pokitto 35:4f7edccf8ed6 418 #elif POK_SCREENMODE == MODE14
Pokitto 35:4f7edccf8ed6 419 #define POK_SCREENBUFFERSIZE 14520
Pokitto 35:4f7edccf8ed6 420 #define LCDWIDTH 220
Pokitto 35:4f7edccf8ed6 421 #define LCDHEIGHT 176
Pokitto 35:4f7edccf8ed6 422 #define POK_BITFRAME 4840
Pokitto 35:4f7edccf8ed6 423 #elif POK_SCREENMODE == MODE15
Pokitto 35:4f7edccf8ed6 424 #define POK_SCREENBUFFERSIZE 0x4BA0
Pokitto 35:4f7edccf8ed6 425 #define LCDWIDTH 220
Pokitto 35:4f7edccf8ed6 426 #define LCDHEIGHT 176
Pokitto 35:4f7edccf8ed6 427
Pokitto 0:e8b8f36b4505 428 #else
Pokitto 0:e8b8f36b4505 429 #define POK_SCREENBUFFERSIZE 0
Pokitto 0:e8b8f36b4505 430 #endif // POK_SCREENMODE
Pokitto 0:e8b8f36b4505 431
Pokitto 0:e8b8f36b4505 432 #ifndef POK_STRETCH
Pokitto 0:e8b8f36b4505 433 #define POK_STRETCH 1 // Stretch Gamebuino display
Pokitto 0:e8b8f36b4505 434 #endif
Pokitto 35:4f7edccf8ed6 435
Pokitto 35:4f7edccf8ed6 436 #ifdef PROJ_FPS
Pokitto 35:4f7edccf8ed6 437 #define POK_FPS PROJ_FPS
Pokitto 35:4f7edccf8ed6 438 #endif
Pokitto 0:e8b8f36b4505 439 #ifndef POK_FPS
Pokitto 0:e8b8f36b4505 440 #define POK_FPS 20
Pokitto 0:e8b8f36b4505 441 #endif
Pokitto 0:e8b8f36b4505 442 #define POK_FRAMEDURATION 1000/POK_FPS
Pokitto 0:e8b8f36b4505 443
Pokitto 0:e8b8f36b4505 444 /** SCROLL TEXT VS. WRAP AROUND WHEN PRINTING **/
Pokitto 66:6281a40d73e6 445 #if PROJ_NO_AUTO_SCROLL
Pokitto 66:6281a40d73e6 446 #define SCROLL_TEXT 0
Pokitto 66:6281a40d73e6 447 #else
Pokitto 0:e8b8f36b4505 448 #define SCROLL_TEXT 1
Pokitto 66:6281a40d73e6 449 #endif
Pokitto 0:e8b8f36b4505 450
Pokitto 0:e8b8f36b4505 451 /** AUDIO **/
Pokitto 66:6281a40d73e6 452
Pokitto 66:6281a40d73e6 453 #define POK_ALT_MIXING 1 // NEW! alternative more accurate mixing, uses more CPU
Pokitto 66:6281a40d73e6 454
Pokitto 0:e8b8f36b4505 455 #define POK_AUD_PIN P2_19
Pokitto 30:796f9611d2ac 456 #define POK_AUD_PWM_US 15 //31 //Default value 31
Pokitto 35:4f7edccf8ed6 457 #ifndef PROJ_AUD_FREQ
Pokitto 35:4f7edccf8ed6 458 #define POK_AUD_FREQ 22050 //Valid values: 8000, 11025, 16000, 22050 // audio update frequency in Hz
Pokitto 35:4f7edccf8ed6 459 #else
Pokitto 35:4f7edccf8ed6 460 #define POK_AUD_FREQ PROJ_AUD_FREQ
Pokitto 35:4f7edccf8ed6 461 #endif
Pokitto 35:4f7edccf8ed6 462
Pokitto 35:4f7edccf8ed6 463
Pokitto 35:4f7edccf8ed6 464 #define POK_USE_EXT 0 // if extension port is in use or not
Pokitto 35:4f7edccf8ed6 465
Pokitto 0:e8b8f36b4505 466 #define POK_STREAMFREQ_HALVE 0 // if true, stream update freq is half audio freq
Pokitto 0:e8b8f36b4505 467 #define POK_STREAM_LOOP 1 //master switch
Pokitto 0:e8b8f36b4505 468
Pokitto 35:4f7edccf8ed6 469 #ifndef PROJ_USE_DAC
Pokitto 35:4f7edccf8ed6 470 #define POK_USE_DAC 1 // is DAC in use in this project
Pokitto 35:4f7edccf8ed6 471 #else
Pokitto 35:4f7edccf8ed6 472 #define POK_USE_DAC PROJ_USE_DAC
Pokitto 35:4f7edccf8ed6 473 #endif
Pokitto 35:4f7edccf8ed6 474 #ifndef PROJ_USE_PWM
Pokitto 35:4f7edccf8ed6 475 #define POK_USE_PWM 1 // is PWM for audio used in this project
Pokitto 35:4f7edccf8ed6 476 #else
Pokitto 35:4f7edccf8ed6 477 #define POK_USE_PWM PROJ_USE_PWM
Pokitto 35:4f7edccf8ed6 478 #endif
Pokitto 35:4f7edccf8ed6 479
Pokitto 35:4f7edccf8ed6 480 #ifndef PROJ_STREAM_TO_DAC
Pokitto 35:4f7edccf8ed6 481 #define POK_STREAM_TO_DAC 1 // 1 = stream from SD to DAC, synthesizer to PWM, 0 = opposite
Pokitto 35:4f7edccf8ed6 482 #else
Pokitto 35:4f7edccf8ed6 483 #define POK_STREAM_TO_DAC PROJ_STREAM_TO_DAC
Pokitto 35:4f7edccf8ed6 484 #endif
Pokitto 0:e8b8f36b4505 485
Pokitto 0:e8b8f36b4505 486
Pokitto 0:e8b8f36b4505 487 #define POK_BACKLIGHT_PIN P2_2
Pokitto 0:e8b8f36b4505 488 #define POK_BACKLIGHT_INITIALVALUE 0.3f
Pokitto 0:e8b8f36b4505 489
Pokitto 0:e8b8f36b4505 490 #define POK_BATTERY_PIN1 P0_22 // read battery level through these pins
Pokitto 0:e8b8f36b4505 491 #define POK_BATTERY_PIN2 P0_23
Pokitto 0:e8b8f36b4505 492
Pokitto 0:e8b8f36b4505 493 #define POK_BTN_A_PIN P1_9
Pokitto 0:e8b8f36b4505 494 #define POK_BTN_B_PIN P1_4
Pokitto 0:e8b8f36b4505 495 #define POK_BTN_C_PIN P1_10
Pokitto 0:e8b8f36b4505 496 #define POK_BTN_UP_PIN P1_13
Pokitto 0:e8b8f36b4505 497 #define POK_BTN_DOWN_PIN P1_3
Pokitto 0:e8b8f36b4505 498 #define POK_BTN_LEFT_PIN P1_25
Pokitto 0:e8b8f36b4505 499 #define POK_BTN_RIGHT_PIN P1_7
Pokitto 0:e8b8f36b4505 500
Pokitto 0:e8b8f36b4505 501 #define UPBIT 0
Pokitto 0:e8b8f36b4505 502 #define DOWNBIT 1
Pokitto 0:e8b8f36b4505 503 #define LEFTBIT 2
Pokitto 0:e8b8f36b4505 504 #define RIGHTBIT 3
Pokitto 0:e8b8f36b4505 505 #define ABIT 4
Pokitto 0:e8b8f36b4505 506 #define BBIT 5
Pokitto 0:e8b8f36b4505 507 #define CBIT 6
Pokitto 0:e8b8f36b4505 508
Pokitto 17:10609a82d462 509 /** LOADER UPDATE MECHANISM **/
Pokitto 17:10609a82d462 510 #define POK_ENABLE_LOADER_UPDATES 1 //1=check for new loader versions on SD and update if new found
Pokitto 17:10609a82d462 511
Pokitto 23:f88837b8f914 512 #ifndef SPRITE_COUNT
Pokitto 23:f88837b8f914 513 #define SPRITE_COUNT 4 // The default max sprite count
Pokitto 23:f88837b8f914 514 #endif
Pokitto 23:f88837b8f914 515
Pokitto 28:958b71c4b92a 516 /** SYSTEM SETTINGS ADDRESSES IN EEPROM **/
Pokitto 35:4f7edccf8ed6 517 #define EESETTINGS_FILENAME 3980 // 0xF8C 20bytes last filename requested
Pokitto 35:4f7edccf8ed6 518 #define EESETTINGS_VOL 4000 // 0xFA0 Volume
Pokitto 35:4f7edccf8ed6 519 #define EESETTINGS_DEFAULTVOL 4001 // 0xFA1 Default volume
Pokitto 35:4f7edccf8ed6 520 #define EESETTINGS_LOADERWAIT 4002 // 0xFA2 Loader wait in sec
Pokitto 35:4f7edccf8ed6 521 #define EESETTINGS_VOLWAIT 4003 // 0xFA3 Volume screen wait in sec
Pokitto 35:4f7edccf8ed6 522 #define EESETTINGS_TIMEFORMAT 4004 // 0xFA4 Time format (0=24 hrs, 1 = 12 hrs)
Pokitto 35:4f7edccf8ed6 523 #define EESETTINGS_LASTHOURSSET 4005 // 0xFA5 Last time set in hours
Pokitto 35:4f7edccf8ed6 524 #define EESETTINGS_LASTMINUTESSET 4006 // 0xFA6 Last time set in minutes
Pokitto 35:4f7edccf8ed6 525 #define EESETTINGS_DATEFORMAT 4007 // 0xFA7 Date format (0=D/M/Y, 1 = M/D/Y)
Pokitto 35:4f7edccf8ed6 526 #define EESETTINGS_LASTDAYSET 4008 // 0xFA8 Last Day set
Pokitto 35:4f7edccf8ed6 527 #define EESETTINGS_LASTMONTHSET 4009 // 0xFA9 Last Month set
Pokitto 35:4f7edccf8ed6 528 #define EESETTINGS_LASTYEARSET 4010 // 0xFAA Last Year set (counting from 2000)
Pokitto 35:4f7edccf8ed6 529 #define EESETTINGS_RTCALARMMODE 4011 // 0xFAB RTC alarm mode (0=disabled, 1=enabled, 3 = enabled with sound)
Pokitto 35:4f7edccf8ed6 530 #define EESETTINGS_RESERVED 4012 // 0xFAC 4bytes reserved (additional sleep configuration)
Pokitto 35:4f7edccf8ed6 531 #define EESETTINGS_WAKEUPTIME 4016 // 0xFB0 Wake-up time as 32bit value for 1Hz RTC clock
Pokitto 66:6281a40d73e6 532 #define EESETTINGS_SKIPINTRO 4020 // 0xFB4 Show Logo (0-Yes, 1-No, 2-Yes then switch to 0, 3-No, then switch to 1)
Pokitto 66:6281a40d73e6 533
Pokitto 66:6281a40d73e6 534 /** USB SERIAL PORT **/
Pokitto 66:6281a40d73e6 535
Pokitto 66:6281a40d73e6 536 #ifndef PROJ_VENDOR_ID
Pokitto 66:6281a40d73e6 537 #define POK_VENDOR_ID 0x04D8
Pokitto 66:6281a40d73e6 538 #define POK_PRODUCT_ID 0x000A
Pokitto 66:6281a40d73e6 539 #endif
Pokitto 35:4f7edccf8ed6 540
Pokitto 28:958b71c4b92a 541
Pokitto 0:e8b8f36b4505 542 #endif // POKITTO_SETTINGS_H
Pokitto 0:e8b8f36b4505 543
Pokitto 30:796f9611d2ac 544