Simulating this in Proteus allows you to using the Graph feature (Transient Analysis) before writing a single line of hardware code.
The Voltage Sensor Proteus library is a simulation tool used to model and analyze voltage sensor circuits in Proteus, a popular electronics design and simulation software. Here's a review of the library: voltage sensor proteus library
Most downloadable "voltage sensor libraries" for Proteus are actually combining E devices with clamping diodes (to protect ADC from over-voltage). Simulating this in Proteus allows you to using
Positive (+) and Ground (-) pins to connect the external voltage source you wish to measure. Output Terminals (Microcontroller Side): Signal Pin (S): voltage sensor proteus library