code de la carte IHM avant les bugs et avant le travail effectué avec Melchior
Dependencies: mbed SerialHalfDuplex SDFileSystem liaison_Bluetooth ident_crac DISCO-F469NI_portrait
Diff: IHM/ihm.cpp
- Revision:
- 28:7f2990747e09
- Parent:
- 27:ff70537a7619
- Child:
- 29:ff575aff301f
diff -r ff70537a7619 -r 7f2990747e09 IHM/ihm.cpp --- a/IHM/ihm.cpp Wed Jul 08 11:24:24 2020 +0000 +++ b/IHM/ihm.cpp Fri Jul 17 14:35:11 2020 +0000 @@ -265,7 +265,7 @@ strat_etat_s=DEMO; } else if(TEST_A.Touched()) { while (TEST_A.Touched()); - //SendRawId(TEST_VENT_A); + SendRawId(VENT_ETAT); TEST_A.Draw(BLEU, BLANC); } else if(TEST_NUM.Touched()) { while (TEST_NUM.Touched()); @@ -529,7 +529,7 @@ while (strat_etat_s == SELECT_SIDE) { canProcessRx(); if(COTE_JAUNE.Touched()) { - Cote = 0x0; + Cote = 0x1; InversStrat = Cote; strat_etat_s = TACTIQUE; CANMessage trame_Tx = CANMessage(); @@ -544,7 +544,7 @@ } if(COTE_VIOLET.Touched()) { - Cote = 0x1; + Cote = 0x0; InversStrat= Cote; strat_etat_s = TACTIQUE; CANMessage trame_Tx = CANMessage();