jspark311 / Arduino-ADG2128

A library for the ADG2128 analog cross-point switch.
https://hackaday.io/project/167228-adg2128-breakout
Other
1 stars 0 forks source link

编译问题 #1

Closed 13970252381 closed 1 week ago

13970252381 commented 4 years ago

Why I use ADG 2128_exprese.ino program, compile problem, always header file error

jspark311 commented 4 years ago

Please re-file the issue in English, or submit a PR so I can understand the problem. Closing.

jspark311 commented 4 years ago

Do you need this library? https://github.com/jspark311/CppPotpourri

If you DO NOT want the dependency, change this line: https://github.com/jspark311/Arduino-ADG2128/blob/master/src/ADG2128.h#L31

Make it....

#define ADG2128_DEBUG 0

Does that solve it?

PS: Thank you for translating to English. :-)

13970252381 commented 4 years ago

Sorry to reply you so late.According to your method is not good, I just keep the function in ADG2128.cpP file, the rest of the function directly deleted. Adg2128.cpp and ADG2128.h are all commented out about ADG2128_DEBUG, which is useful.

13970252381 commented 4 years ago

In addition, I found that the sample code given by ADP8866 was empty, with nothing in it.I wonder if you forgot.

jspark311 commented 4 years ago

I just pushed a doc change to fix a mistake. But I doubt that is your problem. I can build the example in the repo.

Please post compiler logs?

ADP8866 was empty, with nothing in it.I wonder if you forgot.

No. Just haven't ported it over from my other code base yet.