Control an H-Bridge using a PwmOut (enable) and two DigitalOuts (direction select)
Diff: Motor.cpp
- Revision:
- 2:f265e441bcd9
- Parent:
- 0:a470311addc4
- Child:
- 3:42a75eba182b
--- 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