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.
print.h
00001 00002 #pragma once 00003 #include "PinNames.h" 00004 #include "Timer.h" 00005 #include "mbed.h" 00006 #include "rplidar.h" 00007 //#include <cstdio> 00008 00009 //Serial PC(SERIAL_TX,SERIAL_RX); //Rx Tx pins of the USB (used to write in the serial monitor); 00010 00011 class Print 00012 { 00013 public: 00014 Serial& _PC; 00015 Print(Serial& PC) : _PC(PC) {} ; 00016 ~Print(); 00017 00018 void printData(int angle, int sizeOfPrint, float* data); 00019 void printData(int startAngle, int angle, int sizeOfPrint, float* data); 00020 void getPrintData(int angle, int sizeOfPrint, RPLidar lidar, int readTime); 00021 00022 00023 };
Generated on Wed Jul 27 2022 05:22:14 by
1.7.2