-
Notifications
You must be signed in to change notification settings - Fork 4
/
Subroutines.h
28 lines (21 loc) · 923 Bytes
/
Subroutines.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef _subs_h
#define _subs_h
#include <Arduino.h> //needed
#include "Directives.h"
//void DebugSprintfMsgSend(int CX);
void PrintTime(String MSG) ;
int rnSenderAddrFromPacket(unsigned char* rn, int seven);
int rnReceipientAddrFromPacket(unsigned char* rn, int seven) ;
int getTwoBytesFromMessageHL( uint8_t* msg, uint8_t highloc) ;
void SetWordIn_msg_loc_value(uint8_t* msg, uint8_t firstbyte, int value) ;
int IntFromPacket_at_Addr(uint8_t* msg, uint8_t highbyte);
void dump_byte_array(byte* buffer, int bufferSize) ;
void dump_byte(uint8_t buffer);
uint8_t lnCalcCheckSumm(uint8_t *cMessage, uint8_t cMesLen) ;
uint16_t AddrFull (uint8_t HI, uint8_t LO) ;
void copyUid (byte *buffOut, byte *buffIn, byte bufferSize) ;
bool compareUid(byte *buffer1, byte *buffer2, byte bufferSize) ;
void Show_MSG(void);
void FlashMessage (String msg, int Repeats, int ON, int Off) ;
void SetPortPinIndex(void);
#endif