Data Sheet

LABCENTER ELECTRONICS LTD.
198
Start the simulation using the play button at the bottom of Proteus and then launch the watch
window from the debug menu in VSM Studio. You should see it appear as a docked tab at the
bottom of the IDE.
Next, right click on the watch window and select 'Add items by name' from the context menu.
We want to add the ADC registers ADRESH and ADRESL which you can do by double clicking
on an entry. Exit the dialogue form when you are done and you should see both items appear in
the watch window display.
We now need to use the active popups (or switch to the schematic tab) to switch into POT
reading mode. Click on the control button three times to cycle the modes and then use the
actuator buttons at the left of the device to vary the value on the POT.