Mindstorms 3rd Party ROBOTC Drivers RobotC
[Home] [Download] [Submit a bug/suggestion] [ROBOTC Forums] [Blog] [Support this project]
Defines | Functions

mindsensors-magicwand.h File Reference

Mindsensors Magic Wand. More...

#include "philips-pcf8574.h"

Go to the source code of this file.

Defines

#define MSMWclearALL(X)   PCF8574sendBytes(X, 0xFF)
#define MSMWsetALL(X)   PCF8574sendBytes(X, 0x00)

Functions

bool MSMWsetLED (tSensors link, ubyte ledToChange, bool on)
bool MSMWtoggleLED (tSensors link, ubyte ledToChange)
bool MSMWflashAndClear (tSensors link, int count)

Detailed Description

Mindsensors Magic Wand.

mindsensors-magicwand.h provides additional functionality on top of the PCF8574 driver for the Mindsensors Magic Wand

Changelog:

Credits:

License: You may use this code as you wish, provided you give credit where its due.

THIS CODE WILL ONLY WORK WITH ROBOTC VERSION 3.59 AND HIGHER.

Author:
Mike Partain a.k.a. Spiked3 (http://www.spiked3.com/)
Xander Soldaat (xander_at_botbench.com)
Date:
29 July 2012
Version:
0.1

Definition in file mindsensors-magicwand.h.