Skip to content

Commit

Permalink
commented out Serial.print from setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
goldfish committed Sep 20, 2011
1 parent 3e20169 commit 00383aa
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions SLhwi.pde
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ void setup(){


for( int i=0;i<5;i++ ){ for( int i=0;i<5;i++ ){
sliderValue[i] = analogRead( slider[i] ); sliderValue[i] = analogRead( slider[i] );
Serial.print( "/AM/S/" ); //Serial.print( "/AM/S/" );
Serial.print( i ); //Serial.print( i );
Serial.print( " " ); //Serial.print( " " );
Serial.println( sliderValue[i] ); //Serial.println( sliderValue[i] );
} }
for( int i=0;i<7;i++ ){ for( int i=0;i<7;i++ ){
pinMode( buttonF[i], INPUT ); pinMode( buttonF[i], INPUT );
Expand All @@ -38,10 +38,10 @@ void setup(){
// Using internal pull-ups and N/O momentary buttons tied to ground // Using internal pull-ups and N/O momentary buttons tied to ground
// our default pin state is high when the button is not being pressed. // our default pin state is high when the button is not being pressed.
// we take the inverse of this for our switch state so being pressed is 1 // we take the inverse of this for our switch state so being pressed is 1
Serial.print( "/AM/F/" ); //Serial.print( "/AM/F/" );
Serial.print( i ); //Serial.print( i );
Serial.print( " " ); //Serial.print( " " );
Serial.println( buttonFstate[i], BIN ); //Serial.println( buttonFstate[i], BIN );
} }
} }


Expand Down

0 comments on commit 00383aa

Please sign in to comment.