uMIDI
The swiss army knife for quick and easy developement of MIDI applications.
Functions
switcher.h File Reference

MIDI switcher module API. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool exec_backup (const char *command)
 Handler for the backup command. More...
 
bool exec_load (const char *command)
 Handler for the load command. More...
 
bool exec_relay (const char *command)
 Handler for the relays command. More...
 
bool exec_restore (const char *command)
 Handler for the restore command. More...
 
bool exec_save (const char *command)
 Handler for the save command. More...
 
void execute_program (uint32_t program_data)
 Replace current program by given program_data and update relays accordingly. More...
 
void handle_program_change (uint8_t program)
 Callback for unimplemented midi messages. More...
 
void unknown_midi_message_handler (void)
 Task for polling all switches and update current program. More...
 
void poll_switches (void)
 

Detailed Description

MIDI switcher module API.

Function Documentation

◆ exec_backup()

bool exec_backup ( const char *  command)

Handler for the backup command.

◆ exec_load()

bool exec_load ( const char *  command)

Handler for the load command.

◆ exec_relay()

bool exec_relay ( const char *  command)

Handler for the relays command.

◆ exec_restore()

bool exec_restore ( const char *  command)

Handler for the restore command.

◆ exec_save()

bool exec_save ( const char *  command)

Handler for the save command.

◆ execute_program()

void execute_program ( uint32_t  program_data)

Replace current program by given program_data and update relays accordingly.

Callback for program changes

◆ handle_program_change()

void handle_program_change ( uint8_t  program)

Callback for unimplemented midi messages.

◆ poll_switches()

void poll_switches ( void  )

◆ unknown_midi_message_handler()

void unknown_midi_message_handler ( void  )

Task for polling all switches and update current program.