
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
Diff: PCF8574.h
- Revision:
- 2:835c883d81b0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PCF8574.h Fri Dec 15 19:40:41 2017 +0000 @@ -0,0 +1,16 @@ +#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