posilani dat
Dependencies: FatFileSystemCpp mbed PowerControl USBHostLite
Diff: utils.h
- Revision:
- 2:f623d1815dc4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/utils.h Fri Mar 13 21:36:33 2015 +0000 @@ -0,0 +1,12 @@ + +#ifndef __UTILS_H_ +#define __UTILS_H_ + +extern void itoa(int num, int type, char *buf); + +/* + * Copy value of size bytes (use sizeof(type)) to buffer + */ +extern void toBytes(char *buffer, void *value, size_t size); + +#endif \ No newline at end of file