Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
RS485_usrlib.h
- Committer:
- WakoTakeru
- Date:
- 2017-02-26
- Revision:
- 0:bc8a5f269990
- Child:
- 1:1cd6941022b3
File content as of revision 0:bc8a5f269990:
#ifndef __RS485_usrlib_H__
#define __RS485_usrlib_H__
#include "mbed.h"
#include "Serial.h"
extern void onInterrupt();
class RS485{
private:
Serial _serial;
DigitalOut _rede;
public:
int buffer[5];
RS485(PinName,PinName,PinName);
void Transmit_data(int,int *);
int getc();
};
#endif