61
Control.ini
8.2.3 Project 3 – One area has to be filled with four
different recorded voice sounds
The project has one area. The area can be filled with four
different recorded voice sounds, which are German, Spanish,
French and English. The languages can be changed with a
rotary switch. So four shows have to be created.
The area is activated with switch 1. The pins of the rotary
switch are assigned to pin 2-5.
The content of the Control.ini file looks like this:
!i2c!vmc1=1#
!i3c!vmc1=2#
!i4c!vmc1=3#
!i5c!vmc1=0#
!i1c!vcc1=1!rsn1#
!i1c!vcc1=2!rsn2#
!i1c!vcc1=3!rsn3#
!i1c!vcc1=0!rsn4#
1
st
line: If input 2 is activated (!i2c), then the value of variable
1 will attain 1 (!vmc1=1).
2
nd
line: If input 3 is activated (!i3c), then the value of variable
1 will attain 2 (!vmc1=2).
3
rd
line: If input 4 is activated (!i4c), then the value of variable
1 will attain 3 (!vmc1=3).
4
th
line: If input 5 is activated (!i5c), then the value of variable
1 will attain 0 (!vmc1=0).