shithub: m8c

ref: 40dc043fdd71e70ec8af367cfb93a53aa8b5602b
dir: /write.h/

View raw version
// Copyright 2021 Jonne Kokkonen
// Released under the MIT licence, https://opensource.org/licenses/MIT

#ifndef WRITE_H_
#define WRITE_H_

#include <stdint.h>
#include <libserialport.h>

int reset_display(struct sp_port *port);
int enable_and_reset_display(struct sp_port *port);
int disconnect(struct sp_port *port);
int send_msg_controller(struct sp_port *port, uint8_t input);
int send_msg_keyjazz(struct sp_port *port, uint8_t note, uint8_t velocity);

#endif