y
Dependencies: HSI2RGBW_PWM mbed fct_aide FastAnalogIn mbed-dsp NVIC_set_all_priorities
fonctions.c
- Committer:
- achille
- Date:
- 2019-06-03
- Revision:
- 10:45b00b385a21
- Parent:
- 8:e576f4eea51b
File content as of revision 10:45b00b385a21:
#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; } }