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... Electronics Projects, Shift Operations Hi Tech C Example
"hi tech c examples, microchip projects, microcontroller projects, "
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 following structures are used to divide the two 8-bit.
LED1=(unsigned char)tmp; //tmp low byte of the variable is assigned to the corresponding port.
LED2=(unsigned char)(tmp>>8); //tmp the high byte of the variable is assigned to the corresponding port.
If you pay attention to the lower 8 bit 16 bit structure changing the variable type. It is right to get in the top 8 bit 8 times after wrapping the variable of type must be changed.
Everything here is written in a for loop is different from the Ethiopian Airlines. 2 led at the same time shifting is the same as the floating light application. The only difference at first single led is made of not one but two led more than one burned the scroll operation. Then tmp variable result two to leave ports 8bitlik timer2 structure.
OR other effects used to be instantiated AND the komutlarıda. Here to note OR command with the desired ports 1 coil. AND command also requested ports to 0.
First xxxx xxxx
after xxxx 1111
First xxxx xxxx
after xxxx 0000
Where x is the same as the previous value is used to express.
Hi Tech C Examples Shift Operations proteus isis and code files: shift-operations-hi-tech-c-examples.zip
Alternative File Download LINK list (in TXT format): LINKS-13676.zip