Miniprogram som ger kameran koordinater att flytta till
Dependencies: mbed
koordinat.cpp@0:1313a6ee32aa, 2017-04-30 (annotated)
- Committer:
- elt14lpo
- Date:
- Sun Apr 30 18:06:36 2017 +0000
- Revision:
- 0:1313a6ee32aa
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
elt14lpo | 0:1313a6ee32aa | 1 | #include<stdio.h> |
elt14lpo | 0:1313a6ee32aa | 2 | #include<mbed.h> |
elt14lpo | 0:1313a6ee32aa | 3 | |
elt14lpo | 0:1313a6ee32aa | 4 | int main(){ |
elt14lpo | 0:1313a6ee32aa | 5 | while(1){ |
elt14lpo | 0:1313a6ee32aa | 6 | printf("35000 16000"); |
elt14lpo | 0:1313a6ee32aa | 7 | printf("\n"); |
elt14lpo | 0:1313a6ee32aa | 8 | wait(5); |
elt14lpo | 0:1313a6ee32aa | 9 | printf("15000 18000"); |
elt14lpo | 0:1313a6ee32aa | 10 | printf("\n"); |
elt14lpo | 0:1313a6ee32aa | 11 | wait(5); |
elt14lpo | 0:1313a6ee32aa | 12 | printf("15000 16000"); |
elt14lpo | 0:1313a6ee32aa | 13 | printf("\n"); |
elt14lpo | 0:1313a6ee32aa | 14 | wait(5); |
elt14lpo | 0:1313a6ee32aa | 15 | } |
elt14lpo | 0:1313a6ee32aa | 16 | } |