MakeBlock Drive Updated Updated library for MakeBlock Ranger

Loading...
Searching...
No Matches
MeBluetooth.h
Go to the documentation of this file.
1
37#ifndef MeBluetooth_H
38#define MeBluetooth_H
39
40#include <stdint.h>
41#include <stdbool.h>
42#include <Arduino.h>
43#include "MeConfig.h"
44#include "MeSerial.h"
45
46#ifdef ME_PORT_DEFINED
47#include "MePort.h"
48#endif
49
55#ifndef ME_PORT_DEFINED
56 class MeBluetooth
57#else // !ME_PORT_DEFINED
58class MeBluetooth : public MeSerial
59#endif // !ME_PORT_DEFINED
60{
61 public:
62#ifdef ME_PORT_DEFINED
69 MeBluetooth();
70
77 MeBluetooth(uint8_t port);
78#else // ME_PORT_DEFINED
89 MeBluetooth(uint8_t receivePin, uint8_t transmitPin, bool inverse_logic = false);
90#endif // ME_PORT_DEFINED
91};
92#endif
93
MeConfig.h
Configuration file of library.
MePort.h
Header for MePort.cpp module.
MeSerial.h
Header for for MeSerial.cpp module.
MeBluetooth
Driver for Me Bluetooth device.
Definition MeBluetooth.h:60
MeBluetooth::MeBluetooth
MeBluetooth()
Definition MeBluetooth.cpp:47
MeSerial
Driver for serial.
Definition MeSerial.h:67