MakeBlock Drive Updated Updated library for MakeBlock Ranger

Loading...
Searching...
No Matches
Classes
MeLightSensor.h File Reference

Header file for Me-Light Sensor.cpp. More...

`#include <stdint.h>`
`#include <stdbool.h>`
`#include <Arduino.h>`
`#include "MeConfig.h"`
`#include "MePort.h"`
Include dependency graph for MeLightSensor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | MeLightSensor
| Driver for Me-Light Sensor module. More...

## Detailed Description

Header file for Me-Light Sensor.cpp.

Author
  MakeBlock

Version
  V1.0.2

Date
  2015/11/09

Copyright
  This software is Copyright (C), 2012-2016, MakeBlock. Use is subject to license
  conditions. The main licensing options available are GPL V2 or Commercial:

Open Source Licensing GPL V2
  This is the appropriate option if you want to share the source code of your
  application with everyone you distribute it to, and you also want to give them
  the right to share who uses it. If you wish to use this software under Open
  Source Licensing, you must contribute all your source code to the open source
  community in accordance with the GPL Version 2 when your application is
  distributed. See http://www.gnu.org/copyleft/gpl.html

Description

Method List:

1. void MeLightSensor::setpin(uint8_t ledPin, uint8_t sensorPin)
2. int16_t MeLightSensor::read()
3. void MeLightSensor::lightOn()
4. void MeLightSensor::lightOff()

History:

      `<Author>`         `<Time>`        `<Version>`        `<Descr>`
      Mark Yan         2015/07/24     1.0.0            Rebuild the old lib.
      Rafael Lee       2015/09/02     1.0.1            Added function setpin and some comments.
      Mark Yan         2015/11/09     1.0.2            fix some comments error.