Stéphane Cachat
/
Smoothie
smoothie port to mbed online compiler (smoothieware.org)
Embed:
(wiki syntax)
Show/hide line numbers
utils.h
00001 #ifndef utils_h 00002 #define utils_h 00003 00004 #include <stdint.h> 00005 using namespace std; 00006 #include <string> 00007 #include <vector> 00008 using std::string; 00009 00010 string lc(string str); 00011 00012 string remove_non_number( string str ); 00013 00014 uint16_t get_checksum(string to_check); 00015 00016 vector<uint16_t> get_checksums(string key); 00017 00018 string shift_parameter( string ¶meters ); 00019 00020 string get_arguments( string possible_command ); 00021 00022 bool file_exists( string file_name ); 00023 00024 void system_reset( void ); 00025 00026 00027 00028 00029 #endif
Generated on Tue Jul 12 2022 14:14:42 by 1.7.2