EECS 203 Mailing List
Quick Button Check code

Quick Button Check code

From: Byron Cheng <Byron_at_avoiding.spam>
Date: Sun May 25 2008 - 15:37:01 CDT

Hey guys, in class we did a bit of coding for "quick button check" but I
can't seem to recall why we did it. This was the code I copied down,




Btfss s2_reg, s2_bit

Goto gotanybutton


Btfss s3_reg, s3_reg

Goto gotanybutton





Call wait_button_release

Goto label before turning LED's on (which I assume is, in button.asm,


This replaced the get button loop I think? but from what I understand, all
this does is just listens for a button press and goes on. I can't seem to
think of how that is useful in the context of the code.



Byron Cheng

Received on Sun May 25 15:37:01 2008

This archive was generated by hypermail 2.1.8 : Sat Aug 23 2008 - 21:08:11 CDT