I am writing a library to interface with a Sonix SNAD01 Analog to Digital Converter. I used the softI2CMaster library as my basis for this and heavily modified it. But it won't compile, and the messages are making no sense to me.
First the compiler output:
SNAD01.cpp: In member function 'uint8_t SNAD01::SNAD01_Convert(uint8_t)':
SNAD01.cpp:113: error: 'SNAD01_sendChan' was not declared in this scope
SNAD01.cpp: At global scope:
SNAD01.cpp:269: error: no 'void SNAD01::SNAD01_sendChan(uint8_t)' member function declared in class 'SNAD01'
SNAD01.cpp:284: error: no 'void SNAD01::SNAD01_sendReg(uint8_t)' member function declared in class 'SNAD01'
I have attached the library and header to this post. It isn't complete yet, but I was trying to clean up any errors before I finished it up. These are the last ones I do not understand.
Maybe I am just going crosseyed here, but I just can't see the problem. Help?