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.
Fork of UniServ by
Revision 1:466aa582d2d3, committed 2017-06-05
- Comitter:
- obrie829
- Date:
- Mon Jun 05 07:56:03 2017 +0000
- Parent:
- 0:dde1a0011645
- Commit message:
- balh
Changed in this revision
| UniServ.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/UniServ.cpp Wed Oct 13 23:53:29 2010 +0000
+++ b/UniServ.cpp Mon Jun 05 07:56:03 2017 +0000
@@ -29,12 +29,12 @@
ServMin=400;
ServMax=2600;
- Pulse.attach_us(this,&UniServ::SigStart,Period);
+ Pulse.attach_us( callback(this,&UniServ::SigStart), Period);
}
void UniServ::SigStart(){
ServPin=1;
- PulseEnd.attach_us(this,&UniServ::SigStop,Position);
+ PulseEnd.attach_us( callback( this, &UniServ::SigStop), Position);
}
void UniServ::SigStop(){
