Dependencies: LCD_DISCO_F429ZI mbed BSP_DISCO_F429ZI
CoderRotatif/Rot.h
- Committer:
- ascheriit
- Date:
- 2019-04-29
- Revision:
- 19:09ad3ca689f3
- Parent:
- 14:006b29435bdb
- Child:
- 20:f3e8319b7899
File content as of revision 19:09ad3ca689f3:
#include "mbed.h" #include "LCD_DISCO_F429ZI.h" #include "Display_Elements.h" #include "Trace.h" int CR_readPins(void); //lit la valeur donnée par le codeur rotatif et nous donne en retour un nobr fonction de l'angle int CR_donneSelection(int); //donne la selection (x/8) en fonction de la position void CR_test(void); //écrit sur l'écrant le choix fait /* Pinout : + -> 3.3V B B 4 -> PC_8 3 -> PC_11 2 -> PC_12 1 -> PC_13 8 -> PA_5 7 -> PB_4 6 -> PB_7 5 -> PC_3 Gnd -> Gnd */