lknds

Dependencies:   mbed TrapezoidControl Pulse QEI

Communication/RS485/LineHub/LineHub.h

Committer:
M_souta
Date:
2019-09-09
Revision:
21:e3b58d675c1c

File content as of revision 21:e3b58d675c1c:

#ifndef  LINEHUB_H_
#define  LINEHUB_H_

#include "mbed.h"
#include "../../../CommonLibraries/RingBuffer/RingBuffer.h"

extern int lineData[8];

extern RINGBUFFER::RingBuffer RS485LineBuffer;

namespace LINEHUB {
    
    class LineHub {
        public:
        static void Initialize();
        static void Update();
        static int GetPara(int num);
    };
}

#endif //LINEHUB_H_