This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
2016-09-11 22:45:52 +00:00
|
|
|
#ifndef PORTMCP23S17_H
|
|
|
|
#define PORTMCP23S17_H
|
|
|
|
#include <Arduino.h>
|
|
|
|
#include <inttypes.h>
|
|
|
|
#include <SPI.h>
|
|
|
|
|
|
|
|
class PortMCP23S17
|
|
|
|
{
|
|
|
|
protected:
|
2016-09-11 23:03:00 +00:00
|
|
|
uint8_t transfer(const uint8_t command, const uint8_t registerAddr, const uint8_t data);
|
2016-09-11 22:45:52 +00:00
|
|
|
};
|
|
|
|
#endif
|