C-Libs/Monitor.h
2021-07-01 11:55:32 +00:00

27 lines
596 B
C

/*
* Monitor.h
*
* Created on: 23 Mar 2021
* Author: angoosh
*/
#ifndef MONITOR_H_
#define MONITOR_H_
#include "main.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
void MONITOR_VarSendInt(UART_HandleTypeDef*, char*, int, int, uint8_t, uint8_t, int*);
void MONITOR_VarSendFloat(UART_HandleTypeDef*, char*, int, float, int*);
void MONITOR_VarSendReg(UART_HandleTypeDef*, char*, int, uint32_t, int*);
void MONITOR_Update(uint8_t*, int);
//void Update(uint8_t, int, char*);
#define MSG_PREFIX 'A'
#define MSG_LINE_END '\n'
#endif /* MONITOR_H_ */