diff --git a/Examples/API.md b/Examples/API.md index 4e35a90..57fce3e 100644 --- a/Examples/API.md +++ b/Examples/API.md @@ -17,10 +17,6 @@ void button() { // handle button down here } -void step() { - // discrete time logic here -} - ``` ###AutomaTile methods### @@ -30,13 +26,6 @@ void step() { void getNeighborStates(uint8_t * result); // pass it an array for the size of the neighborhood and it will return each neighbor’s state in that array. ``` -**sendStep** -```c -void sendStep(void); -// step forward in time, simulate ruleset -// maximum frequency 10Hz -// these do not cue up, i.e. if you send step more frequently, steps will be dropped -``` **getTimer** ```c uint32_t getTimer(void); @@ -59,13 +48,6 @@ void setState(uint8_t state); uint8_t getState(void); // get’s our own current state, 0-15 ``` -**setStepCallback** -```c -void setStepCallback(cb_func cb); -// pass your own function to setStepCallback, this function takes no arguments and returns nothing -// can be set once in the beginning of your application, but can also be hot-swapped during runtime -// defaults to do nothing (change this to default to flash red… or white) -``` **setButtonCallback** ```c void setButtonCallback(cb_func cb); @@ -117,4 +99,4 @@ void setMicOn(void); ```c void setMicOff(void); // turns the microphone off (i.e. only steps forward from neighbor notification) -``` \ No newline at end of file +```