pjmelect
Advanced Member level 2
- Joined
- May 13, 2012
- Messages
- 576
- Helped
- 127
- Reputation
- 254
- Reaction score
- 131
- Trophy points
- 1,323
- Activity points
- 5,891
The attached file contains a very simple Proteus circuit and program with a problem that has had me stumped for some time now. All the program does is write some data to a port and read it back in again in a loop checking the results. Every so often the wrong data is read from the port if any analogue component is connected to the port such as the virtual scope or a resistor. The program works correctly in hardware but not in Proteus. I am at a loss as to how to correct this as this is not a programming problem but a simulator bug. Any suggestions as to any settings in the simulator that may make my program run correctly?