aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-05-27 22:38:50 -0400
committerbnewbold <bnewbold@robocracy.org>2010-05-27 22:38:50 -0400
commitc487a9f330c5b27f00bd695466df711ec2caa8eb (patch)
tree96e962dcf9ff5554b481a1bc9fe3d8ec0230b789
parentdc8ecb7649d0a7caa51b17f7f05e98acc747bd76 (diff)
downloadlibrambutan-c487a9f330c5b27f00bd695466df711ec2caa8eb.tar.gz
librambutan-c487a9f330c5b27f00bd695466df711ec2caa8eb.zip
analogWrite is an alias for pwmWrite
-rw-r--r--wirish/pwm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wirish/pwm.h b/wirish/pwm.h
index 4f69751..927b685 100644
--- a/wirish/pwm.h
+++ b/wirish/pwm.h
@@ -35,6 +35,7 @@
extern "C"{
#endif
+#define analogWrite pwmWrite
void pwmWrite(uint8, uint16);
#ifdef __cplusplus