DELPHI for Electronic Engineers
Part 2 - Programming a calculator

In the first instalment of this series, we introduced the Delphi programming environment and described several examples that illustrate how to program in Delphi. In this instalment, we take a more detailed look at the design of a somewhat more serious program. Our project here is to construct a simple pocket calculator in software. In next month’s instalment, it will be expanded to include a keypad that can be connected to a serial port to allow the keystrokes to be read by the Delphi program.
This project consists of three components:
- The presentation layer, which shows the results on the monitor.
- The driver layer, which provides the interface with the hardware (the keypad). This layer will be described in the next instalment.
- The processing layer, which is the software that simulates the operation of a pocket calculator.
Continue reading this Elektor article?
- Unlimited access to online Member Only articles
- 3 new editions Elektor Magazine (digital)
- More than 5000 Gerber files
- 20% member discount on e-books (at elektor.com)
- 10% member discount on Products (at elektor.com)
Stops Automatically.
What is Members Only
Elektor is committed to providing high-quality content on electronics, catering to tens of thousands of paying members. As part of this commitment, Elektor has launched Premium, an initiative that offers exclusive online articles to members sometimes even before they appear in the magazine.
Every day, members can access in-depth articles that showcase the best of Elektor's premium content.
This initiative aims to reward members with early access. Once logged in, members can easily enjoy this exclusive content and engage in discussions about featured projects. While Premium adds to the existing resources available, Elektor will continue to provide a wealth of free information.
Join the Elektor community today to take advantage of Premium and other benefits!
Discussion (0 comments)