ajout module_mouvement
Dependencies: mbed xbee_lib ADXL345_I2C IMUfilter ITG3200 Motor RangeFinder Servo mbos PID
Fork of Labo_TRSE_Drone by
Diff: Module_Communication/Module_Communication.cpp
- Revision:
- 28:8b5ccd2f837e
- Parent:
- 24:3462a304f9a0
- Child:
- 31:a0800d3da787
diff -r 67c37f97fc66 -r 8b5ccd2f837e Module_Communication/Module_Communication.cpp --- a/Module_Communication/Module_Communication.cpp Wed Apr 03 12:45:19 2013 +0000 +++ b/Module_Communication/Module_Communication.cpp Wed Apr 03 13:48:30 2013 +0000 @@ -80,4 +80,19 @@ m_trameRxBuffer->frameBuffer(newFrame); */ + } + + void C_ModuleCommunication::traitementTrame(void) + { + if(m_trameRxBuffer.numberMessage() <= 0) return; + + frame newFrame = m_trameRxBuffer.frameBuffer(); + + switch(newFrame.identifier) { + case 0x31 : + break; + case 0x32 : + break; + + } } \ No newline at end of file