Control an H-Bridge using a PwmOut (enable) and two DigitalOuts (direction select). ES200 fork with line 31 of motor.cpp modified.

Dependents:   Fa2018-es200-1121-3321-thread-example Fa2018-es200-1121-3321-thread-example-peanut Fa2018-es200-1121-3321-thread-example-herndon Fa2018-es200-1121-3321-thread-example-rockem

Fork of Motor by Simon Ford

Revision:
2:f265e441bcd9
Parent:
0:a470311addc4
Child:
3:2fb29b1f7d1c
--- a/Motor.cpp	Sat Jul 10 07:46:17 2010 +0000
+++ b/Motor.cpp	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