Move master branch from from mios git repo

This commit is contained in:
hek
2014-01-23 00:23:15 +01:00
commit 609d9e5be9
352 changed files with 53418 additions and 0 deletions
@@ -0,0 +1,27 @@
#include <SimpleFIFO.h>
void setup() {
Serial.begin(9600);
SimpleFIFO<int,10> sFIFO; //store 10 ints
sFIFO.enqueue(1);
sFIFO.enqueue(2);
sFIFO.enqueue(3);
sFIFO.enqueue(4);
sFIFO.enqueue(5);
Serial.print(F("Peek: "));
Serial.println(sFIFO.peek());
for (int i=0; i<sFIFO.count(); i++) {
Serial.print(F("Dequeue "));
Serial.println(sFIFO.dequeue());
}
}
void loop() {
//nothing
}