Using the simulator
The IAR PowerPac GUI simulator requires Microsoft Visual C++ (version 6.00 or higher) and the integrated
development environment (IDE) which comes with it. You will see a simulation of your LCD on your PC screen, which
has the same resolution in X and Y and can display the exact same colors as your LCD once it has been properly
configured. The entire graphic library API and window manager API of the simulation are identical to those on your
target system; all functions will behave in the very same way as on the target hardware since the simulation uses the
same C source code as the target system. The difference lies only in the lower level of the software: the LCD driver.
Instead of using the actual LCD driver, the PC simulation uses a simulation driver which writes into a bitmap. The
bitmap is then displayed on your screen using a second thread of the simulation. This second thread is invisible to the
application; it behaves just as if the LCD routines were writing directly to the display.
No comments:
Post a Comment