hello, i am using p89v51rd2 and wrote a code that periodically takes the data from an ADC through a parallel port and transmits the same through serial port. The code works on simulator but does not work when burnt on hardware. How may i solve this.
the two major differences between simulating and real life is TIMING and, of course the hardware. If e.g. you ADC require 14 microseconds between reads, the simulator will accept reads as fast as you can make them.