Tag: hi tech c examples

HI-TECH C Compiler Projects HI-TECH C code sample HI-TECH C simulation circuits

Floating Led Circuit Hi Tech C Example

| 2011/01/14

The second is the floating light work. Connect the two types of LEDs to the Pic. In the former case, a source with the port out 25mA. In this case, the graph is connected to the chassis with a pice of the anode resistance. Port 1 is applied to the led lights up. The second…

8 LED King Rider Circuit Hi Tech C Example

| 2011/01/14

This is the application name from the series of the 80’s legend. king rider 🙂 This application is connected to the cathode of the LEDs. LEDs are lit when the corresponding port 1. Infinite loops are located in two loop. LED will light cycle prior to entering the first appointment is made. In the first…

Shift Operations Hi Tech C Example

| 2011/01/14

This may sound like it is a bit hard for you application in the first place. First of all, here are 8 bit, not 16-bit scroll operation. In 16-bit is a temporary variable to do (tmp variable). All made this variable first and then the scroll operations related to ports. 16bitlik a structure of the…

Traffic Light Circuit Hi Tech C Example

| 2011/01/14

Traffic light application is not different from other applications. One port is connected to multiple LEDs. When a port to connect multiple LEDs with output current of a transistor to do upgrade. When you connect a PIC microcontroller will damage the poles. LEDs which are mutually connected to the same port. Example isis circuit drawing;…

Common Cathode Display Control Hi Tech C Example

| 2011/01/14

Common cathode seven segment display is used in our application. 0 in the display to show the number of a, b, c, d, e, f of pins to connect to port 1 should be done. 1 to show the number of pins to connect to port b, and c are 1 others should be set…

The Combined use Display Hi Tech C Example

| 2011/01/14

To connect a single 8-pin microcontrollers are required to display. So to displace one pice 8 8 × 8 = 64 pin to connect should? This pic so many pin in the market which are not available easily. Even though you find the prices are higher than others. Ports use an extra element to multiply…

LED Display Blinking Effect Hi Tech C Example

| 2011/01/14

We want to display a blinking effect is scanned display cases for a certain period. Display will illuminate during scanning. Then for common anode display port scanning is stopped 0xFF is assigned and all the display will go off at the same time Proteus isis blinking effect circuit drawing; Blinking Effect Hi Tech C codes…

Display Control Digits to Variable Assignment Hi Tech C Example

| 2011/01/14

Display the easiest way to check is to assign a variable for each digit. This embodiment is controlled by display tmp. Which if it is to be shown on the display of the directory in which the number of personnel assigned to the desired number. For example, tmp [0] = 5 5 is shown on…

Button control with 16 LEDs Hi Tech C Example

| 2011/01/14

The microcontroller used in the circuit that connects the button input pins to be done about the relevant bit of the TRIS register is set to 1 . Bastard pullup resistance and buttons are connected to one . If one of the ports on the button pressed , the button is pressed, 0 is read.…

Simple Mathematical Operation Hi Tech C Example

| 2011/01/14

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,…