![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
This is the code we showed at Uncraftivism
main.cpp@0:57f4fdadc97f, 2009-11-20 (annotated)
- Committer:
- jarkman
- Date:
- Fri Nov 20 14:40:48 2009 +0000
- Revision:
- 0:57f4fdadc97f
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jarkman | 0:57f4fdadc97f | 1 | |
jarkman | 0:57f4fdadc97f | 2 | #include "mbed.h" |
jarkman | 0:57f4fdadc97f | 3 | #include "ucam.h" |
jarkman | 0:57f4fdadc97f | 4 | #include "Servo.h" |
jarkman | 0:57f4fdadc97f | 5 | |
jarkman | 0:57f4fdadc97f | 6 | |
jarkman | 0:57f4fdadc97f | 7 | |
jarkman | 0:57f4fdadc97f | 8 | |
jarkman | 0:57f4fdadc97f | 9 | LocalFileSystem local("local"); |
jarkman | 0:57f4fdadc97f | 10 | //UCam ucam(p13, p14); |
jarkman | 0:57f4fdadc97f | 11 | |
jarkman | 0:57f4fdadc97f | 12 | |
jarkman | 0:57f4fdadc97f | 13 | void UCamInit(); |
jarkman | 0:57f4fdadc97f | 14 | Frame* UCamGetDiff( ); |
jarkman | 0:57f4fdadc97f | 15 | |
jarkman | 0:57f4fdadc97f | 16 | |
jarkman | 0:57f4fdadc97f | 17 | |
jarkman | 0:57f4fdadc97f | 18 | int main() { |
jarkman | 0:57f4fdadc97f | 19 | |
jarkman | 0:57f4fdadc97f | 20 | |
jarkman | 0:57f4fdadc97f | 21 | |
jarkman | 0:57f4fdadc97f | 22 | UCamInit(); |
jarkman | 0:57f4fdadc97f | 23 | while( true ) |
jarkman | 0:57f4fdadc97f | 24 | { |
jarkman | 0:57f4fdadc97f | 25 | UCamGetDiff(); |
jarkman | 0:57f4fdadc97f | 26 | } |
jarkman | 0:57f4fdadc97f | 27 | |
jarkman | 0:57f4fdadc97f | 28 | } |
jarkman | 0:57f4fdadc97f | 29 | |
jarkman | 0:57f4fdadc97f | 30 |