Speeduino
|
Convert a 16-bit value to/from a byte. Useful for I/O. More...
#include <table3d_axis_io.h>
Public Attributes | |
pToByteConverter | to_byte |
pFromByteConverter | from_byte |
Convert a 16-bit value to/from a byte. Useful for I/O.
Often we need to deal internally with values that fit in 16-bits but do not require much accuracy. E.g. table axes in RPM. For these values we can save storage space (EEPROM) by scaling to/from 8-bits.
pFromByteConverter table3d_axis_io_converter::from_byte |
pToByteConverter table3d_axis_io_converter::to_byte |