Big Mouth Billy Bass automation library

Dependents:   BillyBass_with_SD

Revision:
6:ea8136eb6976
Parent:
4:f009306756b3
Child:
7:dba9221acf48
--- a/song.hpp	Wed Jun 19 16:12:11 2013 +0000
+++ b/song.hpp	Thu Jun 20 03:04:36 2013 +0000
@@ -53,9 +53,9 @@
     Action *getActions() {
         return actions;
     }
-    bool addAction(float _time, int _state, DigitalOut* _out) {
+    bool addAction(float _time, int _state, DigitalOut* _out, char _code) {
         if (numActions >= MAX_ACTIONS_PER_SONG) return false;
-        actions[numActions++].set(_time, _state, _out);
+        actions[numActions++].set(_time, _state, _out, _code);
         return true;
     }
     unsigned getNumActions() const {