Home › Magazines › 2005 › February › DELPHI for Electronic Engineers

DELPHI for Electronic Engineers

Part 2 - Programming a calculator

Published in issue 340, February 2005

DELPHI for Electronic Engineers

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.

Relevant websites

Click below to download a pdf copy of this article from Elektor magazine.

 

Downloads 

PDF Article (U050258.pdf)
10 Elektor Credits
 

Free downloads 

040240-2-11.zip

Free download

Subscribe now

Subscribe to our free
E-weekly Newsletter!

Enter your Email address:

Follow Elektor

      

Act now!

FAQ

Before submitting questions, review our FAQ section!

Bestseller

Microprocessor Design using Verilog HDL

This book is a practical guide to processor design in the real world. It presents the Verilog HDL in an easily digestible fashion and serves as a thorough introduction about reducing a computer architecture and instruction set to practice. 

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.

Elektor PCBs at 25% OFF