re arrangement de lignes
This commit is contained in:
parent
c9a7cdff84
commit
67bacd19c7
@ -13,8 +13,10 @@
|
||||
|
||||
bool EtatEntree27 = HIGH ;
|
||||
bool VarSuivi27 = HIGH ;
|
||||
|
||||
bool EtatEntree28 = HIGH ;
|
||||
bool VarSuivi28 = HIGH ;
|
||||
|
||||
bool EtatEntree29 = HIGH ;
|
||||
bool VarSuivi29 = HIGH ;
|
||||
|
||||
@ -24,7 +26,6 @@
|
||||
bool EtatEntree31 = HIGH ;
|
||||
bool VarSuivi31 = HIGH ;
|
||||
|
||||
|
||||
bool EtatEntree32 = HIGH ;
|
||||
bool VarSuivi32 = HIGH ;
|
||||
|
||||
@ -115,31 +116,26 @@ void loop()
|
||||
if ( (EtatEntree24 != VarSuivi24) && (EtatEntree24 == HIGH) )
|
||||
{
|
||||
noteOn(0x80, 0x24 , 0x00) ; /* note off sur canal1 ; C2 ; vel 0 */
|
||||
/* Serial.println("touche lachee"); */
|
||||
VarSuivi24 = HIGH;
|
||||
VarSuivi24 = HIGH; /* "touche relachée" */
|
||||
}
|
||||
|
||||
if ( (EtatEntree24 != VarSuivi24) && (EtatEntree24 == LOW) )
|
||||
{
|
||||
noteOn(0x90, 0x24 , 0x70) ; /* note on sur canal1 ; C2 ; vel */
|
||||
/* Serial.println("touche appuyee"); */
|
||||
VarSuivi24 = LOW;
|
||||
VarSuivi24 = LOW; /* "touche appuyee" */
|
||||
}
|
||||
|
||||
|
||||
if ( (EtatEntree25 != VarSuivi25) && (EtatEntree25 == HIGH) )
|
||||
{
|
||||
noteOn(0x80, 0x25 , 0x00) ;
|
||||
/* Serial.println("touche lachee"); */
|
||||
VarSuivi25 = HIGH;
|
||||
}
|
||||
|
||||
if ( (EtatEntree25 != VarSuivi25) && (EtatEntree25 == LOW) )
|
||||
{
|
||||
noteOn(0x90, 0x25 , 0x70) ; /* note on sur canal1 ; C2 ; vel */
|
||||
/* Serial.println("touche appuyee"); */
|
||||
noteOn(0x90, 0x25 , 0x70) ; /* note on sur canal1 ; C#2 ; vel */
|
||||
VarSuivi25 = LOW;
|
||||
}
|
||||
|
||||
if ( (EtatEntree26 != VarSuivi26) && (EtatEntree26 == HIGH) )
|
||||
{
|
||||
noteOn(0x80, 0x26 , 0x00) ; /* note off sur canal1 ; D2 ; vel 0 */
|
||||
@ -307,6 +303,3 @@ void loop()
|
||||
delay(100); */
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user