2019-10-06 13:09:15 +00:00
|
|
|
/*
|
|
|
|
* This file is part of the hoverboard-firmware-hack project.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2017-2018 Rene Hopf <renehopf@mac.com>
|
|
|
|
* Copyright (C) 2017-2018 Nico Stute <crinq@crinq.de>
|
|
|
|
* Copyright (C) 2017-2018 Niklas Fauth <niklas.fauth@kit.fail>
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2020-02-16 20:58:15 +00:00
|
|
|
// Define to prevent recursive inclusion
|
|
|
|
#ifndef COMMS_H
|
|
|
|
#define COMMS_H
|
2019-10-06 13:09:15 +00:00
|
|
|
|
|
|
|
#include "stm32f1xx_hal.h"
|
|
|
|
|
|
|
|
void setScopeChannel(uint8_t ch, int16_t val);
|
|
|
|
void consoleScope(void);
|
2020-02-16 20:58:15 +00:00
|
|
|
void consoleLog(char *message);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|