CRINSA-team2025
V1
Documentation du Club Robot INSA Rennes 2025
Chargement...
Recherche...
Aucune correspondance
SensorsThread.h
1
//
2
// Created by boris on 30/10/2024.
3
//
4
5
#ifndef SENSORS_THREAD_H
6
#define SENSORS_THREAD_H
7
8
#include <FreeRTOS.h>
9
10
#include "include/SensorArray.h"
11
12
namespace
SensorsThread
13
{
14
15
void
Init();
16
17
18
inline
i2c_t i2c2 = {.sda = PB_11, .scl = PB_10, .isMaster = 1, .generalCall =
false
, .NoStretchMode =
false
};
19
inline
SensorArray sensors = SensorArray(&i2c2, PE14, PE13, PE15);;
20
21
void
Thread(
void
*pvParameters);
22
23
}
24
25
#endif
//SENSORS_THREAD_H
src
sensors
SensorsThread.h
Généré par
1.13.2