This is a remote control tester, it uses a CNC, Ethernet Communication with a JAVAFX interface and a PLC in order to control some valves.

Dependencies:   EthernetInterface mbed-rtos mbed

Fork of CNC_CONTROLLER by Lahis Almeida

PCF8574.h

Committer:
kevencastro7
Date:
2017-12-15
Revision:
2:835c883d81b0

File content as of revision 2:835c883d81b0:

#include "mbed.h"

#ifndef MBED_PCF8574_H
#define MBED_PCF8574_H

class PCF8574 {
public:
    PCF8574(PinName sda, PinName scl, int address);
    int read(int);
    void write(int data);
private:
    I2C _i2c;
    int _address;
};

#endif