Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp@0:5cc73db8c7bb, 2009-09-19 (annotated)
- Committer:
- chris
- Date:
- Sat Sep 19 07:49:19 2009 +0000
- Revision:
- 0:5cc73db8c7bb
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| chris | 0:5cc73db8c7bb | 1 | #include "DemoBoard.h" |
| chris | 0:5cc73db8c7bb | 2 | |
| chris | 0:5cc73db8c7bb | 3 | /* |
| chris | 0:5cc73db8c7bb | 4 | * This project uses a potentiometer to set the position of a Servo motor |
| chris | 0:5cc73db8c7bb | 5 | */ |
| chris | 0:5cc73db8c7bb | 6 | |
| chris | 0:5cc73db8c7bb | 7 | int main() { |
| chris | 0:5cc73db8c7bb | 8 | |
| chris | 0:5cc73db8c7bb | 9 | while(1) { |
| chris | 0:5cc73db8c7bb | 10 | servo=potx; |
| chris | 0:5cc73db8c7bb | 11 | } |
| chris | 0:5cc73db8c7bb | 12 | |
| chris | 0:5cc73db8c7bb | 13 | } |
| chris | 0:5cc73db8c7bb | 14 | |
| chris | 0:5cc73db8c7bb | 15 |