Skip to main content
FW version: Stable

Level-Based Map Selection

Alternative to button-based map switching, maps can be selected based on voltage levels at the in_mapswitch input.

Activation

  1. Enable bit 0 in mapopts (mapopts |= 1)
  2. Configure maplut array

Map Lookup Table

maplut array maps GDIN values to map selections:

  • Array size matches total map count
  • Array position = map number
  • Value = activating GDIN level

Configuration Example

maplut = -10,-1,0,1,2,3,0,0,0,0

GDIN LevelSelected Map
-1Map1
0Map0
1Map1
2Map2
3Map3
info

-10 is used as an invalid GDIN value to skip selection. Using 0 in first position enables Map0 at GDIN level 0.

map lookup table