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.
Diff: HbMotor.cpp
- Revision:
- 27:ff63c23bc689
- Parent:
- 25:f3a6e7eec9c3
- Child:
- 28:fdb3b144e342
diff -r 732bc37fbefd -r ff63c23bc689 HbMotor.cpp --- a/HbMotor.cpp Thu Dec 13 12:15:35 2018 +0000 +++ b/HbMotor.cpp Fri Dec 14 12:32:27 2018 +0000 @@ -56,3 +56,8 @@ //sp.printf("MOT [%d]",iVal);//Test Code fpgaSubProp(id,iVal); } + +void HbMotor::setValueFPGA(UCHAR iID, INT16 iVal){ + UCHAR tmp = id * 2 + iID; + fpgaMotor(tmp,iVal); +}