hi, I saw a bit of code and I'd like to know how I could do something similar.
AD7785.cpp
within another file I include AD7785.cpp and call it like this:Code:void AD7785::SPI_Close(void) { SPI.end(); }
and in AD7785.cpp, i call SPI_Close as if it were just a normal functionCode:AD7785.SPI_Close();
thanks, sorry if this is something really simple, but I don't know where else to look.