Makeblock-library-for-Arduino  V3.2.4
It's a library for arduino application developers
MePort.cpp File Reference

Port Mapping for RJ25. More...

#include "MePort.h"

Detailed Description

Port Mapping for RJ25.

Author
MakeBlock
Version
V1.0.1
Date
2015/09/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
This file is a drive for MakeBlock rj25 port.
Method List:
  1. uint8_t MePort::getSlot()
  2. uint8_t MePort::getSlot()
  3. bool MePort::dRead1(uint8_t mode)
  4. bool MePort::dRead2(uint8_t mode)
  5. bool MePort::dpRead1(void)
  6. bool MePort::dpRead1(void)
  7. void MePort::dWrite1(bool value)
  8. void MePort::dWrite2(bool value)
  9. int16_t MePort::aRead1()
  10. int16_t MePort::aRead2()
  11. void MePort::aWrite1(int16_t value)
  12. void MePort::aWrite2(int16_t value)
  13. void MePort::reset(uint8_t port)
  14. void MePort::reset(uint8_t port, uint8_t slot)
  15. uint8_t MePort::pin1()
  16. uint8_t MePort::pin2()
  17. uint8_t MePort::pin()
  18. uint8_t MePort::pin(uint8_t port, uint8_t slot)
History:
<Author>         <Time>        <Version>         <Descr>
Mark Yan         2015/09/01           1.0.0            Rebuild the old lib.
Lawrence         2015/09/09           1.0.1            Add a input parameter of function dRead1 and dRead2.