y
Dependencies: HSI2RGBW_PWM mbed fct_aide FastAnalogIn mbed-dsp NVIC_set_all_priorities
fonctions.c
- Committer:
- achille
- Date:
- 2019-06-03
- Revision:
- 8:e576f4eea51b
- Parent:
- 7:8a2a7633224b
File content as of revision 8:e576f4eea51b:
#include"fonctions.h" DigitalOut ledV(D13); DigitalOut ledR1(D12); DigitalOut ledR2(D11); void led_set(int flagV, int flagR1,int flagR2) { if(flagV) { ledV=1; } else { ledV=0; } if(flagR1) { ledR1=1; } else { ledR1.write(0); } if(flagR2) { ledR2=1; } else { ledR2=0; } }