mirror of
https://github.com/seahu/rflink.git
synced 2025-12-10 07:57:23 +01:00
first commit
This commit is contained in:
16
RPi_rflink/Misc.h
Normal file
16
RPi_rflink/Misc.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef _misc_h
|
||||
#define _misc_h
|
||||
|
||||
#include "Base.h"
|
||||
|
||||
#define HEX 1
|
||||
|
||||
unsigned long str2int(char *string);
|
||||
|
||||
int str2cmd(char *command);
|
||||
float ul2float(unsigned long ul);
|
||||
void PrintHex8(uint8_t *data, uint8_t length);
|
||||
void PrintHexByte(uint8_t data);
|
||||
byte reverseBits(byte data);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user