Skip to content
This repository has been archived by the owner on Apr 26, 2019. It is now read-only.

Commit

Permalink
little tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
ladyada committed Apr 9, 2010
1 parent 94f99f5 commit 8f0e7e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions teensySNES_stellakey/teensySNES_stellakey.pde
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ void loop()
// //debugging the start button...
digitalWrite ( pinLEDOutput, digitalRead(pinBtnStart));

check_switches();

//Process the accelerometer to make the cursor move.
//Comment this line to debug the accelerometer values:
// fcnProcessAccelerometer();
fcnProcessAccelerometer();

//Progess the SNES controller buttons to send keystrokes.
fcnProcessButtons();
Expand Down
2 changes: 0 additions & 2 deletions teensySNES_test1/teensySNES_test1.pde
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#define DEBOUNCE 10 // button debouncer, how many ms to debounce, 5+ ms is usually plenty
#define REPEATRATE 100 // milliseconds

const int pinBtnUp = 0;
Expand Down Expand Up @@ -36,7 +35,6 @@ void setup()
//It enables a pullup resitor on the pin.
for (byte i=0; i< NUMBUTTONS; i++) {
pinMode(buttons[i], INPUT_PULLUP);

}

//Uncomment this line to debug the acceleromter values:
Expand Down

0 comments on commit 8f0e7e3

Please sign in to comment.