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