finite state machine / C12832_copy

Dependents:   Machine_a_etat_3

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers emissionIR.cpp Source File

emissionIR.cpp

00001 /* Author: Chalimbaud
00002  * Created on 19/10/2016
00003  * Template ER2 2017
00004  * */
00005 #include "mbed.h"
00006 #include "emissionIR.h"
00007 
00008 // Déclaration d'un Ticker pour déclencher une émission de bit toutes les 889us
00009 Ticker tickerEmissionIR;
00010 //LEDS IR
00011 DigitalOut ir1(PC_3,1);
00012 DigitalOut ir2(PC_4,1);
00013 DigitalOut ir3(PC_5,1);
00014 DigitalOut ir4(PC_6,1);
00015 DigitalOut ir5(PC_8,1);
00016 
00017 // Fonction d'interruption gérant l'émission
00018 void Emission_TramesIR(void)
00019 {
00020  
00021 }
00022 
00023 // Fonction permettant de démarrer le Ticker
00024 void Init_Emission_TramesIR(void)
00025 {
00026 
00027 }