Sam Grove
/
Re-InvokeISP
Testing documentation
Diff: main.cpp
- Revision:
- 3:987ee333d593
- Parent:
- 2:60a7f968d4ad
diff -r 60a7f968d4ad -r 987ee333d593 main.cpp --- a/main.cpp Mon Apr 18 04:10:51 2011 +0000 +++ b/main.cpp Mon Apr 18 04:14:57 2011 +0000 @@ -36,46 +36,6 @@ // declaration of the fptr. IAP iap_entry = (IAP)IAP_LOCATION; - -/** Servo control class, based on a PwmOut - * - * Example: - * @code - * // Continuously sweep the servo through it's full range - * #include "mbed.h" - * #include "Servo.h" - * - * Servo myservo(p21); - * - * int main() { - * while(1) { - * for(int i=0; i<100; i++) { - * myservo = i/100.0; - * wait(0.01); - * } - * for(int i=100; i>0; i--) { - * myservo = i/100.0; - * wait(0.01); - * } - * } - * } - * @endcode - */ -/** Create a servo object connected to the specified PwmOut pin - * - * @param pin PwmOut pin to connect to - */ - - /** A brief description of the function foo - * - * More details about the function goes here - * and here - * - * @param x a variable used by foo - * @returns something magical done with x - */ -int foo(int x) {...} - int main(){ //! change clk to 4MHz - see below