Big Mouth Billy Bass player that takes raw wavefiles and decision list text files from an SD card
Dependencies: SDFileSystem mbed BillyBass
action.hpp
- Committer:
- bikeNomad
- Date:
- 2013-06-15
- Revision:
- 5:5b846ef42702
File content as of revision 5:5b846ef42702:
#ifndef __included_action_hpp #define __included_action_hpp #include "billybass.hpp" struct Action { float actionTime; bool desiredState; DigitalOut *output; bool operator < (Action const &other) const { return actionTime < other.actionTime; } bool isValid() { return actionTime >= 0.0 && output != 0; } Action() : actionTime(-1.0) , desiredState(false) , output(0) { } bool parseLine(char const *line) { // TODO return true; } }; #endif