Simulator

hippy

Ex-Staff (retired)
Yes, but as each READADC10 takes its value from the generic input field you have to step through the program and change it for before each READADC10. This can be automated by setting a breakpoint on each READAC10 line.

Alternatively, edit the code so it only executes a READADC10 when an input pin is set or replace with a constant assignment. Alternatively you can use the individual 8-bit ADC adjustment fields and use similar to the following -

ReadAdc 0, w0 : w0 = w0 *4
 
Top