Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: AOTTrigon I2CEEPROM MCP4922 AQM0802A mbed
Fork of NuMidi401 by
FMOscillator/FMAlgorithm.h
- Committer:
- kb10uy
- Date:
- 2015-01-29
- Revision:
- 19:f0dcf591c5dd
- Child:
- 21:e3014c1bdf9c
File content as of revision 19:f0dcf591c5dd:
#pragma once
#include "mbed.h"
#include "FMOperator.h"
class FMAlgorithmConnection
{
public:
FMAlgorithmConnection() {
target = 0;
source = 0;
}
int target;
int source;
};
class FMAlgorithm
{
public:
FMAlgorithm();
FMAlgorithm(int opc, int cnc);
~FMAlgorithm();
void setOperator(int num, FMOperator *op);
void setConnection(int num, int t, int s);
private:
int opcount;
int cncount;
FMOperator **operators;
FMAlgorithmConnection *connections;
};
