view Small_CPU/Inc/compass.h @ 755:92bf7bf9fb8a

Cleanup display of multiple warnings in T3 (Big font) view: In a very early version a list of possible warnings was shown and the active once highlithed in red. Because of the rising number of warnings and the big visualization of the first warning (double size) a erronous mixed warning list was displayed. This has now been cleaned up. The main warning is still be displayed in double size but the following warnings are shown on the right side in normal fornt size.
author Ideenmodellierer
date Tue, 07 Mar 2023 19:59:02 +0100
parents 5f11787b4f42
children
line wrap: on
line source

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef COMPASS_H
#define COMPASS_H

#include <stdint.h>

void compass_init(uint8_t fast, uint8_t gain);
void accelerator_init(void);
void compass_read(void);
void acceleration_read(void);
int compass_calib(void);
void compass_calc(void);
//void compass_calc_mini_during_calibration(void);
 
float check_compass_calib(void);

void compass_sleep(void);
void accelerator_sleep(void);

#endif /* COMPASS_H */