MakeBlock Drive Updated
Updated library for MakeBlock Ranger
Loading...
Searching...
No Matches
MeWifi Class Reference

Driver for Me wifi device. More...

#include <src/MeWifi.h>

Inheritance diagram for MeWifi:
Collaboration diagram for MeWifi:

Public Member Functions

 MeWifi ()
 
 MeWifi (uint8_t port)
 
- Public Member Functions inherited from MeSerial
 MeSerial (void)
 
 MeSerial (uint8_t port)
 
 MeSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
void setHardware (bool mode)
 
void begin (long baudrate)
 
size_t write (uint8_t byte)
 
int read ()
 
int available ()
 
int16_t poll (void)
 
void end (void)
 
bool listen (void)
 
bool isListening (void)
 
void sendString (char *str)
 
void printf (char *fmt,...)
 
boolean dataLineAvailable (void)
 
String readDataLine (void)
 
String concatenateWith (String s1, String s2)
 
char letterOf (int i, String s)
 
int stringLength (String s)
 
boolean equalString (String s1, String s2)
 
float getValue (String key)
 
- Public Member Functions inherited from MePort
 MePort (void)
 
 MePort (uint8_t port)
 
 MePort (uint8_t port, uint8_t slot)
 
uint8_t getPort (void)
 
uint8_t getSlot (void)
 
bool dRead1 (uint8_t mode=INPUT)
 
bool dRead2 (uint8_t mode=INPUT)
 
bool dpRead1 (void)
 
bool dpRead2 (void)
 
void dWrite1 (bool value)
 
void dWrite2 (bool value)
 
int16_t aRead1 (void)
 
int16_t aRead2 (void)
 
void aWrite1 (int16_t value)
 
void aWrite2 (int16_t value)
 
void reset (uint8_t port)
 
void reset (uint8_t port, uint8_t slot)
 
uint8_t pin1 (void)
 
uint8_t pin2 (void)
 
uint8_t pin (void)
 
uint8_t pin (uint8_t port, uint8_t slot)
 
- Public Member Functions inherited from SoftwareSerial
 SoftwareSerial (uint8_t receivePin, uint8_t transmitPin, bool inverse_logic=false)
 
void begin (long speed)
 
bool listen ()
 
void end ()
 
bool isListening ()
 
bool stopListening ()
 
bool overflow ()
 
int peek ()
 
virtual void flush ()
 
 operator bool ()
 

Additional Inherited Members

- Static Public Member Functions inherited from SoftwareSerial
static void handle_interrupt () __attribute__((__always_inline__))
 
- Protected Attributes inherited from MeSerial
bool _hard
 
bool _polling
 
bool _scratch
 
int16_t _bitPeriod
 
int16_t _byte
 
long _lastTime
 
char buffer [64]
 
String lastLine
 
int bufferIndex
 
- Protected Attributes inherited from MePort
uint8_t s1
 
uint8_t s2
 
uint8_t _port
 
uint8_t _slot
 

Detailed Description

Driver for Me wifi device.

Class: MeWifi

Description
Declaration of Class MeWifi.
Copyright (C), 2012-2016, MakeBlock

Constructor & Destructor Documentation

◆ MeWifi() [1/2]

MeWifi::MeWifi ( )

Alternate Constructor which can call your own function to map the Me wifi to arduino port, no pins are used or initialized here.

Parameters
[in]None

◆ MeWifi() [2/2]

MeWifi::MeWifi ( uint8_t  port)

Alternate Constructor which can call your own function to map the Me wifi to arduino port, If the hardware serial was selected, we will used the hardware serial.

Parameters
[in]port- RJ25 port from PORT_1 to M2

The documentation for this class was generated from the following files: