Level-Based Map Selection
Alternative to button-based map switching, maps can be selected based on voltage levels at the in_mapswitch
input.
Activation
- Enable bit 0 in
mapopts
(mapopts
|= 1) - 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 Level | Selected Map |
---|---|
-1 | Map1 |
0 | Map0 |
1 | Map1 |
2 | Map2 |
3 | Map3 |
info
-10 is used as an invalid GDIN value to skip selection. Using 0 in first position enables Map0 at GDIN level 0.