Go to the source code of this file.
Functions | |
| void | printString (const char *s) |
| void | printPgmString (const char *s) |
| Print a string stored in PGM-memory. More... | |
| void | printInteger (long n) |
| void | print_uint32_base10 (uint32_t n) |
| void | print_uint8_base10 (uint8_t n) |
| Prints an uint8 variable in base 10. More... | |
| void | print_uint8_base2_ndigit (uint8_t n, uint8_t digits) |
| Prints an uint8 variable in base 2 with desired number of desired digits. More... | |
| void | printFloat (float n, uint8_t decimal_places) |
| Convert float to string by immediately converting to a long integer, which contains. More... | |
| void | printFloat_CoordValue (float n) |
| Floating value printing handlers for special variables types used in Grbl. More... | |
| void | printFloat_RateValue (float n) |
| void | printFreeMemory () |
| Debug tool to print free memory in bytes at the called point. Not used otherwise. More... | |
| void print_uint8_base10 | ( | uint8_t | n | ) |
| void print_uint8_base2_ndigit | ( | uint8_t | n, |
| uint8_t | digits | ||
| ) |
| void printFloat | ( | float | n, |
| uint8_t | decimal_places | ||
| ) |
Convert float to string by immediately converting to a long integer, which contains.
NOTE: AVR '' and '/' integer operations are very efficient. Bitshifting speed-up
< Quickly convert values expected to be E0 to E-4.
< Add rounding factor. Ensures carryover through entire value.
< Get digit
< Fill in zeros to decimal point for (n < 1)
< Fill in leading zero, if needed.
| void printFloat_CoordValue | ( | float | n | ) |
| void printFreeMemory | ( | ) |
Debug tool to print free memory in bytes at the called point. Not used otherwise.
| void printPgmString | ( | const char * | s | ) |