Simple Mathematical Operation Hi Tech C Example

| August 2, 2019 Updated
Simple Mathematical Operation Hi Tech C Example

Programming is the same as mathematics. A different way of doing business has more than one. This application is similar transactions made ​​with different codes. About as long as the button is pressed the first two LEDs are lit. In the last two buttons toggle transaction was made. LEDs will illuminate when pressed once again, is led off when pressed.

Proteus isis Mathematical Operation circuit

leds-led-matematica-hi-tech-c-basit-matematik-islemi

Whether the button is pressed if (! K1) as we will be able to check with the expression if (K1 == 0) We can check it with the structure. LED3 =! LED3; toggle operation is performed by the expression. LEDs are lit and extinguished the lights is off.

Hi Tech C Example Mathematical Operation proteus isis and code files:

FILE DOWNLOAD LINK LIST (in TXT format): LINKS-13647.zip

Published: 2011/01/14 Tags: , ,



1 Comment “Simple Mathematical Operation Hi Tech C Example

  1. Electronics CircuitsElectronics Circuits

    Button Control with Different LEDs Ensure Hi Tech C Example

    In this application, each button is pressed, the LEDs are made with a different process. If you notice here that controls the release of the button at the end of the while statement is the if statement.

    When the button is pressed so that the LEDs corresponding changes are made in the process after the release of the button is checked. Last button is connected to the port LEDs LEDs extinguish by assigning 0xFF. LEDs by pressing the first button left. The first four LEDs will illuminate when the second button is pressed, the last four LEDs are unlit. To third in the last four LEDs will light up when the button is pressed, the first four LEDs are unlit.

    REPLY

Leave a Reply

Your email address will not be published. Required fields are marked *

 

Comment moderation is enabled. Your comment may take some time to appear.