eBoard ①⑧⑨
Written for SIA 2017/2018
RB14Scan Struct Reference

[BLUETOOTH] This is the RB14Scan ghost struct :D More...

#include <eagle_RB14Scan.h>

Public Member Functions

 RB14Scan (void)
 The constructor. More...
 
int raw (optVAL_t)
 this will check for connection status [will return true if pin not connected] More...
 
char channel (optVAL_t)
 will return the next char received by the module. A 64 byte Serial buffer is included! More...
 
void write (const char *const val)
 this will write a constant string to the output More...
 

Detailed Description

[BLUETOOTH] This is the RB14Scan ghost struct :D

Author
EagleoutIce
Precondition
to use this class on UNO:
#define EBOARD_BLUETOOTH 0x1


If you don't reconfigure the TX and RX on MEGA:
#define EBOARD_BLUETOOTH 0x1

[BLUETOOTH] You can use this class like this on UNO:

#define EBOARD_BLUETOOTH 0x1
#include <eBoard.h>
//manual: '#include "/path/to/eBoard.h"'
RB14Scan remote;
int main() {
int x = remote.channel(0); //stores value, if available, in 'x'
}

Definition at line 49 of file eagle_RB14Scan.h.

Constructor & Destructor Documentation

◆ RB14Scan()

RB14Scan::RB14Scan ( void  )
inline

The constructor.

Member Function Documentation

◆ channel()

char RB14Scan::channel ( optVAL_t  )
inline

will return the next char received by the module. A 64 byte Serial buffer is included!

Returns
the next character in queue

◆ raw()

int RB14Scan::raw ( optVAL_t  )
inline

this will check for connection status [will return true if pin not connected]

Returns
the state of the connection [1 if paired or unknown; 0 if disconnected]

◆ write()

void RB14Scan::write ( const char *const  val)
inline

this will write a constant string to the output

Note
this is a new function :D

The documentation for this struct was generated from the following file: