smoothie port to mbed online compiler (smoothieware.org)
For documentation, license, ..., please check http://smoothieware.org/
This version has been tested with a 3 axis machine
libs/utils.h@0:31e91bb0ef3c, 2012-07-31 (annotated)
- Committer:
- scachat
- Date:
- Tue Jul 31 21:11:18 2012 +0000
- Revision:
- 0:31e91bb0ef3c
smoothie port to mbed online compiler
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
scachat | 0:31e91bb0ef3c | 1 | #ifndef utils_h |
scachat | 0:31e91bb0ef3c | 2 | #define utils_h |
scachat | 0:31e91bb0ef3c | 3 | |
scachat | 0:31e91bb0ef3c | 4 | #include <stdint.h> |
scachat | 0:31e91bb0ef3c | 5 | using namespace std; |
scachat | 0:31e91bb0ef3c | 6 | #include <string> |
scachat | 0:31e91bb0ef3c | 7 | #include <vector> |
scachat | 0:31e91bb0ef3c | 8 | using std::string; |
scachat | 0:31e91bb0ef3c | 9 | |
scachat | 0:31e91bb0ef3c | 10 | string lc(string str); |
scachat | 0:31e91bb0ef3c | 11 | |
scachat | 0:31e91bb0ef3c | 12 | string remove_non_number( string str ); |
scachat | 0:31e91bb0ef3c | 13 | |
scachat | 0:31e91bb0ef3c | 14 | uint16_t get_checksum(string to_check); |
scachat | 0:31e91bb0ef3c | 15 | |
scachat | 0:31e91bb0ef3c | 16 | vector<uint16_t> get_checksums(string key); |
scachat | 0:31e91bb0ef3c | 17 | |
scachat | 0:31e91bb0ef3c | 18 | string shift_parameter( string ¶meters ); |
scachat | 0:31e91bb0ef3c | 19 | |
scachat | 0:31e91bb0ef3c | 20 | string get_arguments( string possible_command ); |
scachat | 0:31e91bb0ef3c | 21 | |
scachat | 0:31e91bb0ef3c | 22 | bool file_exists( string file_name ); |
scachat | 0:31e91bb0ef3c | 23 | |
scachat | 0:31e91bb0ef3c | 24 | void system_reset( void ); |
scachat | 0:31e91bb0ef3c | 25 | |
scachat | 0:31e91bb0ef3c | 26 | |
scachat | 0:31e91bb0ef3c | 27 | |
scachat | 0:31e91bb0ef3c | 28 | |
scachat | 0:31e91bb0ef3c | 29 | #endif |