# Simple wrapper for DataFrame Create formatted frame from basic types: - uint8_t, int8_t - uint16_t, int16_t - uint32_t, int32_t - float Structure of data frame: - starting byte (0xCC) - length of frame: count of bytes in payload. Maximum length: 254 (0xFE)h - payload ## Basic usage ```c void main(){ uint8_t data[128]; packet_create(data, 128); packet_add_uint8(0xAB); packet_add_uint16(0xABCD); packet_add_uint32(0x12345678); packet_add_float(0.265); int data_length = packet_commit(); } ```