Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: 4180_final_project
Fork of libTCS34725 by
Revision 8:fe6530d23d58, committed 2017-04-26
- Comitter:
- mwilkens241
- Date:
- Wed Apr 26 18:03:49 2017 +0000
- Parent:
- 7:e1be74ebe7be
- Commit message:
- changed the standby polarity
Changed in this revision
TB6612FNG.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r e1be74ebe7be -r fe6530d23d58 TB6612FNG.cpp --- a/TB6612FNG.cpp Tue Apr 18 19:53:13 2017 +0000 +++ b/TB6612FNG.cpp Wed Apr 26 18:03:49 2017 +0000 @@ -20,7 +20,7 @@ *dir1 = 1; *dir2 = 1; *pwm = 0; - *stby = 0; + *stby = 1; } void TB6612FNG::stop(){ @@ -34,7 +34,7 @@ *dir1 = 0; *dir2 = 0; *pwm = 1; - *stby = 1; + *stby = 0; } void TB6612FNG::fwd(float speed){