![](/media/cache/profiles/cff02a74da64d145a4aed3a577a106ab.jpg.50x50_q85.jpg)
test MAX31850
OneWire/utils.cpp
- Committer:
- fblanc
- Date:
- 2014-06-02
- Revision:
- 3:b4277f7c538e
- Parent:
- 0:55f2866e9c0c
File content as of revision 3:b4277f7c538e:
#include <stdint.h> uint16_t uint8_to_uint16(uint8_t lsb, uint8_t msb) { uint16_t data; uint8_t *ptr; ptr=(uint8_t*)&data; *ptr=lsb; *++ptr=msb; return data; }