Discussion in "Project Doubts" started by    cs1689    Apr 8, 2010.
Thu Apr 08 2010, 11:15 pm
#1
Hello,
what are the other command that can be used for running light LEDs using 68k Motorola microprocessor beside using compare(cmp) and rotate (ror and rol) command.

The LED running from right left when SW4 is pushed <----rol command
LED running from left right - SW3 pushed <-------------------ror command
LED running from outer to inner - SW2 pushed <----------combine command
LED running in sequence - SW1 pushed <--------------combine command
Thu Apr 08 2010, 11:51 pm
#2
toggle all LEDs using compliment statement or something.
 cs1689 like this.
Fri Apr 09 2010, 12:04 am
#3
thx jay, i will look further for it..
Fri Apr 09 2010, 12:06 am
#4
Is there a practical reason for asking, or is it just some sort of
exam question ?.
Fri Apr 09 2010, 12:23 am
#5
It is not exam question. My report about the running LEDs already completed but need to edit a bit about the introduction section, cause our lecturer want us to explain other commands or method that can be used for this running LEDs project. No need to remake back the coding, just to explain it , been search for it for a whole day, then I found this web while searching using google.. .. for my project I just use rotate and other instruction..
Fri Apr 09 2010, 12:34 am
#6
I suppose you could use shift instructions, but they are much the same as rotations

It depends on exactly what patterns you are creating.
Sun Nov 25 2012, 07:38 pm
#7
hello...
can you give the coding to me for my reference,.,.
thank you..

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

MnoioCoove
Tue May 21 2024, 02:06 am
PedroDug
Sun May 19 2024, 05:39 pm
JewelAmuck
Sun May 19 2024, 03:06 pm
Minniemus
Sun May 19 2024, 07:39 am
Andyhet
Sat May 18 2024, 07:28 am
BrettTibre
Fri May 17 2024, 06:14 pm
Gordonfax
Fri May 17 2024, 10:28 am
Davidspils
Fri May 17 2024, 10:19 am