PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
POKITTO_XTERNALS/Arduino/delay.cpp@8:754a7af30890, 2017-10-12 (annotated)
- Committer:
- Pokitto
- Date:
- Thu Oct 12 10:36:40 2017 +0000
- Revision:
- 8:754a7af30890
Fake Arduino lib added
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Pokitto | 8:754a7af30890 | 1 | #include <Arduino.h> |
Pokitto | 8:754a7af30890 | 2 | #include "PokittoCore.h" |
Pokitto | 8:754a7af30890 | 3 | |
Pokitto | 8:754a7af30890 | 4 | Pokitto::Core _dc; |
Pokitto | 8:754a7af30890 | 5 | |
Pokitto | 8:754a7af30890 | 6 | /** for Arduino compatibility **/ |
Pokitto | 8:754a7af30890 | 7 | void delay(unsigned long t) { |
Pokitto | 8:754a7af30890 | 8 | _dc.wait(t); |
Pokitto | 8:754a7af30890 | 9 | } |