2011-06-03 15:31:59 +02:00
|
|
|
/*
|
|
|
|
print.h - Functions for formatting output strings
|
|
|
|
Part of Grbl
|
|
|
|
|
2014-05-18 18:01:05 +02:00
|
|
|
The MIT License (MIT)
|
|
|
|
|
|
|
|
GRBL(tm) - Embedded CNC g-code interpreter and motion-controller
|
2011-06-03 15:31:59 +02:00
|
|
|
Copyright (c) 2009-2011 Simen Svale Skogsrud
|
2012-01-29 04:41:08 +01:00
|
|
|
Copyright (c) 2011-2012 Sungeun K. Jeon
|
2011-06-03 15:31:59 +02:00
|
|
|
|
2014-05-18 18:01:05 +02:00
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
in the Software without restriction, including without limitation the rights
|
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
THE SOFTWARE.
|
2011-06-03 15:31:59 +02:00
|
|
|
*/
|
|
|
|
|
2011-06-03 15:28:14 +02:00
|
|
|
#ifndef print_h
|
|
|
|
#define print_h
|
|
|
|
|
|
|
|
void printString(const char *s);
|
2011-06-03 15:36:14 +02:00
|
|
|
|
2011-06-03 15:28:14 +02:00
|
|
|
void printPgmString(const char *s);
|
2011-06-03 15:36:14 +02:00
|
|
|
|
2011-06-03 15:28:14 +02:00
|
|
|
void printInteger(long n);
|
2011-06-03 15:36:14 +02:00
|
|
|
|
2012-01-06 18:10:41 +01:00
|
|
|
void print_uint8_base2(uint8_t n);
|
2011-06-03 15:36:14 +02:00
|
|
|
|
2012-10-08 23:57:58 +02:00
|
|
|
void printFloat(float n);
|
2011-06-03 15:28:14 +02:00
|
|
|
|
|
|
|
#endif
|