Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
fonction.c
- Committer:
- eitanallal
- Date:
- 2020-03-19
- Revision:
- 0:8bb6839e4133
File content as of revision 0:8bb6839e4133:
#include "fonction.h"
// Calcul de l'état à l'instant t+dt
void sortiex(int posx,int accx){
posx=posx+accx*TMP*TMP;
}
void sortiey(int posy,int accy){
posy=posy+accy*TMP*TMP;
}
void listex(int* matx,int entreex,int rang){
int* p=matx+rang+1;
*p=entreex;
}
void listey(int* maty,int entreey,int rang){
int* p=maty+rang+1;
*p=entreey;
}