Changes

Jump to navigation Jump to search
480 bytes added ,  00:46, 23 June 2017
Line 192: Line 192:  
</code><br />
 
</code><br />
 
The initSTINGR method conducts the initialization routine by sending out a beacon gesture, and returns the success of the operation. You should not utilize STINGR if the result of this operation is false -- it should return false only in the case of hardware failure.
 
The initSTINGR method conducts the initialization routine by sending out a beacon gesture, and returns the success of the operation. You should not utilize STINGR if the result of this operation is false -- it should return false only in the case of hardware failure.
 +
 +
<code>
 +
myStringr.attachConsole(Serial);
 +
</code><br />
 +
The attachConsole method allows one to attach STINGR output to a Serial stream, permitting STINGR to output status messages. This particular function outputs high-level output.
 +
 +
<code>
 +
myStingr.attachDebugConsole(Serial);
 +
</code><br />
 +
The attachDebugConsole method allows one to attach STINGR low-level debug output to the Serial stream, providing a large array of information for debugging possible communication problems.

Navigation menu