Library for Sparkfun analog joystick

Fork of SparkfunAnalogJoystick by ECE4180

Files at this revision

API Documentation at this revision

Comitter:
happinesstaker
Date:
Mon Mar 09 21:01:23 2015 +0000
Parent:
1:ed0057aa2e31
Child:
3:2b40241a7675
Commit message:
add Doxygen test

Changed in this revision

SparkfunAnalogJoystick.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SparkfunAnalogJoystick.cpp	Sun Mar 08 05:43:45 2015 +0000
+++ b/SparkfunAnalogJoystick.cpp	Mon Mar 09 21:01:23 2015 +0000
@@ -1,9 +1,17 @@
+/** Analog Joystick APIs
+ *  Used as a user interface for Sparkfun Analog Joystick Module
+ *  @file SparkfunAnalogJoystick.cpp
+ *  @author Yuan,ZHANG; Jiajie,YANG
+ */
+
 #include "SparkfunAnalogJoystick.h"
 #include "math.h"
 
 #define M_PI 3.14159265358979323846
 
-// Constructor
+/** My HelloWorld class.
+ *  Used for printing "Hello World" on USB serial.
+ */
 SparkfunAnalogJoystick::SparkfunAnalogJoystick(PinName vert, PinName horz, PinName sel): VERT(vert), HORZ(horz), SEL(sel)
 {
     SEL.mode(PullUp);