Test program for the LidarLitePwm library

Dependencies:   LidarLitePwm mbed

Files at this revision

API Documentation at this revision

Comitter:
joe4465
Date:
Wed Mar 18 09:17:35 2015 +0000
Parent:
0:cea49dbec4b6
Commit message:
V1.1 Internal timer

Changed in this revision

LidarLitePwm.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/LidarLitePwm.lib	Wed Mar 18 08:57:07 2015 +0000
+++ b/LidarLitePwm.lib	Wed Mar 18 09:17:35 2015 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/users/joe4465/code/LidarLitePwm/#32f0a592b9e5
+http://developer.mbed.org/users/joe4465/code/LidarLitePwm/#be66a4cd86c0
--- a/main.cpp	Wed Mar 18 08:57:07 2015 +0000
+++ b/main.cpp	Wed Mar 18 09:17:35 2015 +0000
@@ -3,13 +3,11 @@
 
 Serial _pc(USBTX, USBRX);
 
-Timer               _lidarTimer;
-LidarLitePwm        _lidar(p12, _lidarTimer);
+LidarLitePwm        _lidar(p12);
 
 int main()
 {
     _pc.baud(115200);
-    _lidarTimer.start();
     
     printf("Started\r\n");