Print String
This MotoHawk™ block provides standard sprintf() functionality for formatting a string.
Block ID
motohawk_print_string
Library
MotoHawk_lib/Extra Development Blocks
Description
After formatting the string, it calls the 'trigger' output for each character, after setting the 'character' output to the corresponding uint8 ASCII value. This block can be directly connected to the Serial Transmit block.
Block Parameters
Parameter Field | Values | Comments/Description |
---|---|---|
Number of Variables | Numeric | The number of variables that appear in the format string. Format String: The format string used to generate the output string |
Format String | Alpha-numeric text |
May contain the standard sprintf() formats: %d, %h, %s, %f, etc. |
Evaluate Format String | Check box (enable) | Enable evaluation of Format. |