Skip to main content
Version: 1.0.0

Change on level

Default changing of maps is by push button. But it is possible to change maps by level.

This mean, diferent maps can be asignet to diferent voltage levels on maps input - in_mapswitch

Enable change on level

  • Set mapopts |= 1. (enable bit 0)
  • Configura maplut (see below)

Maplut

maplut is an array. The array size is total number of maps. The position in array is the map number. The value in array GDIN value, that will change to this map.

Example

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

Gdin valueMap
-1Map1
0Map0
1Map1
2Map2
3Map3
info

Value -10 is because it is not a valid value for GDIN and it is skipped. If the first value is 0, the map0 is activated for GDIN value 0.

maplut