Ce programme gère l'interface graphique du "jeu" Un accéléromètre et un gyroscope sont connectés via le composant LSM6DS3 et utilise une communication en bus SPI MOSI (PB_15) = SDA MISO (PB_14) = SDO Clock (PI_1) = SCL SS (PI_0) = CS (Aucune réponse du capteur avec ce code)
Dependencies: TS_DISCO_F746NG mbed LCD_DISCO_F746NG BSP_DISCO_F746NG LSM6DS3
Diff: Missile.hpp
- Revision:
- 1:997384292a57
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Missile.hpp Tue Jun 04 14:17:00 2019 +0000 @@ -0,0 +1,18 @@ +#ifndef MISSILE_HPP +#define MISSILE_HPP + +class Missile +{ + public : + Missile(); + //~Missile(); + void init(int Y); + bool updateTir (); + + public : + int posX; + int posY; + bool flagTir; +}; + +#endif