PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
POKITTO_XTERNALS/Arduino/delay.cpp@64:6e6c6c2b664e, 2018-11-18 (annotated)
- Committer:
- spinal
- Date:
- Sun Nov 18 15:47:54 2018 +0000
- Revision:
- 64:6e6c6c2b664e
- Parent:
- 8:754a7af30890
added fix for directrectangle()
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 | } |