Control an H-Bridge using a PwmOut (enable) and two DigitalOuts (direction select)

Dependents:   Servo

Fork of Motor by Simon Ford

Revision:
2:f265e441bcd9
Parent:
1:e341f695742a
diff -r e341f695742a -r f265e441bcd9 Motor.h
--- a/Motor.h	Sat Jul 10 07:46:17 2010 +0000
+++ b/Motor.h	Tue Nov 23 16:16:43 2010 +0000
@@ -1,5 +1,5 @@
 /* mbed simple H-bridge motor controller
- * Copyright (c) 2007-2010, sford
+ * Copyright (c) 2007-2010, sford, http://mbed.org
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
@@ -26,6 +26,7 @@
 #include "mbed.h"
 
 /** Interface to control a standard DC motor 
+ *
  * with an H-bridge using a PwmOut and 2 DigitalOuts
  */
 class Motor {