Bluetooth Object

Purpose:

returns the handle of a new bluetooth object

Syntax:

blu = Bluetooth("mac address")

blu.methodname where method name is one of the following

setUTCoffset
setInterval
discover
removebond
connect
schema
close
 
getCount
getMaxCount

getTime
getInterval

getMillis
getdata
getColumn
setTime
 
list
peekBuffer
getBuffer
setTime
pinMode
digitalWrite
analogWrite
digitalRead
analogRead
analog2pin
 

 

Comments:

The mac address is the mac address of the bluetooth module

Example:

mac = "30:14:12:08:05:84"  // address of second hc-05

bt = bluetooth(mac) // this will be the mac address of your device