
AN07-00200-03E
70
MB95F136JBS
AN01
VCC5
GND
可変抵抗
(
ボリューム
SW)
16
Figure 4-7 Circuit surrounding the voltage adjustment knob
In the starter kit, the circuit is configured as shown in “Figure 4-7 Circuit surrounding the voltage
adjustment knob”, and adjusting this volume switch changes the value of the voltage applied, and
applies this voltage to the pins that perform the A/D conversion. The applied voltage can be digitally
converted in 256 steps, and handled as internal signals. In this sample program, the size of the
applied voltage is obtained using an A/D converter, and the buzzer sound changes according to this
value.
Variable resistance
(Volume switch)