Development

Examples:

General / Utils

» UT 06: Stack EEPROM

Last edition: Jan 10th, 2017 |

This example shows how to use the Stack EEPROM library of Waspmote in order to store and get pending frames using the EEPROM memory of the Waspmote device

» UT 07: Formatted strings

Last edition: Jan 10th, 2017 |

This example shows how to use the snprintf function in order to create formatted strings from variable values. The variables types can be integer types, characters, strings, etc. Conversions are introduced with the character '%'. Possible options can follow the '%': %c character %d signed integers %i signed integers %o octal %s a string of characters %u unsigned integer %x unsigned hexadecimal, with lowercase letters %X unsigned hexadecimal, with uppercase letters

» UT 10: Hex string to hex array

Last edition: Jan 10th, 2017 |

This example shows how to convert a number from a string representation to the long integer type depending on the base used to define the number as a string message